Skip to content

Commit

Permalink
Added watchDirectory to command line options
Browse files Browse the repository at this point in the history
  • Loading branch information
fedot authored and AvianFlu committed May 4, 2012
1 parent 8af6803 commit 2a7c477
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ var help = [
' -v, --verbose Turns on the verbose messages from Forever',
' -s, --silent Run the child script silencing stdout and stderr',
' -w, --watch Watch for file changes',
' --watchDirectory Top-level directory to watch from',
' -h, --help You\'re staring at it',
'',
'[Long Running Process]',
Expand Down Expand Up @@ -190,7 +191,7 @@ var getOptions = cli.getOptions = function (file) {
[
'pidFile', 'logFile', 'errFile', 'watch', 'minUptime', 'append',
'silent', 'outFile', 'max', 'command', 'path', 'spinSleepTime',
'sourceDir', 'uid'
'sourceDir', 'uid', 'watchDirectory'
].forEach(function (key) {
options[key] = app.config.get(key);
});
Expand Down

0 comments on commit 2a7c477

Please sign in to comment.