Skip to content

Commit

Permalink
Fixed watchIgnorePatterns assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kbackowski committed May 12, 2013
1 parent a4289d1 commit 2ba3158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ var getOptions = cli.getOptions = function (file) {
});

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

Expand Down

0 comments on commit 2ba3158

Please sign in to comment.