Commit 6a8f79ce authored by Dave Ceddia's avatar Dave Ceddia Committed by Dan Abramov
Browse files

Prevent Webpack from watching node_modules dir (#294)

parent 6a830a55
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment