Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lib/forever-monitor/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,16 @@ var Monitor = exports.Monitor = function (script, options) {
this.stdio = options.stdio || null;

//
// Setup watch configuration options
// Setup watch configuration options. Infer options.watch from
// any of the other watch options.
//
this.watchIgnoreDotFiles = options.watchIgnoreDotFiles !== false;
this.watchIgnorePatterns = options.watchIgnorePatterns || [];
this.watchDirectory = options.watchDirectory || this.sourceDir;
options.watch = !!(options.watch
|| options.watchIgnoreDotFiles
|| options.watchIgnorePatterns
|| options.watchDirectory);

//
// Create a simple mapping of `this.hideEnv` to an easily indexable
Expand Down
32 changes: 25 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,30 @@
"version": "1.7.0",
"author": "Charlie Robbins <[email protected]>",
"contributors": [
{ "name": "Charlie Robbins", "email": "[email protected]" },
{ "name": "Fedor Indutny", "email": "[email protected]" },
{ "name": "James Halliday", "email": "[email protected]" },
{ "name": "Bradley Meck", "email": "[email protected]" },
{ "name": "Dominic Tarr", "email": "[email protected]" },
{ "name": "Maciej Małecki", "email": "[email protected]" }
{
"name": "Charlie Robbins",
"email": "[email protected]"
},
{
"name": "Fedor Indutny",
"email": "[email protected]"
},
{
"name": "James Halliday",
"email": "[email protected]"
},
{
"name": "Bradley Meck",
"email": "[email protected]"
},
{
"name": "Dominic Tarr",
"email": "[email protected]"
},
{
"name": "Maciej Małecki",
"email": "[email protected]"
}
],
"repository": {
"type": "git",
Expand All @@ -29,7 +47,7 @@
},
"devDependencies": {
"optimist": "~0.6.1",
"vows": "~0.7.0"
"vows": "0.8.0"
},
"main": "./lib/index.js",
"scripts": {
Expand Down