Skip to content

Commit

Permalink
[fix] remove duplicate option
Browse files Browse the repository at this point in the history
  • Loading branch information
julianduque committed Apr 22, 2013
1 parent e8c48d4 commit 6440b4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ var help = [
' --spinSleepTime Time to wait (millis) between launches of a spinning script.',
' --colors --no-colors will disable output coloring',
' --plain alias of --no-colors',
' --plain Disable command line colors',
' -d, --debug Forces forever to log debug output',
' -v, --verbose Turns on the verbose messages from Forever',
' -s, --silent Run the child script silencing stdout and stderr',
Expand Down Expand Up @@ -198,12 +197,12 @@ var getOptions = cli.getOptions = function (file) {

[
'pidFile', 'logFile', 'errFile', 'watch', 'minUptime', 'append',
'silent', 'outFile', 'max', 'command', 'path', 'spinSleepTime',
'silent', 'outFile', 'max', 'command', 'path', 'spinSleepTime',
'sourceDir', 'uid', 'watchDirectory', 'watchIgnore', 'killTree', 'killSignal'
].forEach(function (key) {
options[key] = app.config.get(key);
});

options.watchIgnore = options.watchIgnore || [];
options.watchIgnorePatterns = !Array.isArray(options.watchIgnore)
? options.watchIgnore
Expand Down

0 comments on commit 6440b4e

Please sign in to comment.