Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #501 from Financial-Times/do-not-watch-node-modules
Browse files Browse the repository at this point in the history
Do not watch node-modules
  • Loading branch information
adgad authored Apr 4, 2018
2 parents 74b6599 + 6a3d144 commit 29aa93b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function runLocal (opts) {

if(opts.nodemon) {
args.push('--ignore', 'public/');
args.push('--ignore', 'node-modules/');
return ['nodemon', args, { cwd: process.cwd(), env: env }];
} else {
return ['node', args, { cwd: process.cwd(), env: env }];
Expand Down

0 comments on commit 29aa93b

Please sign in to comment.