Skip to content

Commit

Permalink
Prevent Webpack from watching node_modules dir (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
dceddia authored and gaearon committed Jul 30, 2016
1 parent 6a830a5 commit 6a8f79c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ function runDevServer(port) {
historyApiFallback: true,
hot: true, // Note: only CSS is currently hot reloaded
publicPath: config.output.publicPath,
quiet: true
quiet: true,
watchOptions: {
ignored: /node_modules/
}
}).listen(port, (err, result) => {
if (err) {
return console.log(err);
Expand Down

0 comments on commit 6a8f79c

Please sign in to comment.