diff --git a/examples/webpack-demo-vanilla-bundle/webpack.config.js b/examples/webpack-demo-vanilla-bundle/webpack.config.js index b7a870226..358cc1545 100644 --- a/examples/webpack-demo-vanilla-bundle/webpack.config.js +++ b/examples/webpack-demo-vanilla-bundle/webpack.config.js @@ -74,6 +74,10 @@ module.exports = ({ production } = {}) => ({ }) ] }, + watchOptions: { + ignored: '**/node_modules', + poll: 1000, // Check for changes every second + }, plugins: [ new ProvidePlugin({ '$': 'jquery', diff --git a/packages/vanilla-force-bundle/webpack.config.js b/packages/vanilla-force-bundle/webpack.config.js index 835f846d6..818260ef0 100644 --- a/packages/vanilla-force-bundle/webpack.config.js +++ b/packages/vanilla-force-bundle/webpack.config.js @@ -46,6 +46,10 @@ module.exports = ({ production } = {}) => ({ }, ], }, + watchOptions: { + ignored: '**/node_modules', + poll: 1000, // Check for changes every second + }, plugins: [ ...when(production, new DtsBundleWebpack({ name: 'slicker-bundle',