Skip to content

Commit b779826

Browse files
committed
chore: avoid watching 'node_modules' files in client WASM test servers
1 parent 30e9057 commit b779826

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

mithril-client-wasm/www-test/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ module.exports = {
1818
experiments: {
1919
asyncWebAssembly: true,
2020
},
21+
watchOptions: {
22+
ignored: /node_modules/,
23+
},
2124
};

mithril-client-wasm/www/webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ module.exports = {
1919
devServer: {
2020
allowedHosts: [".mithril.network"],
2121
},
22+
watchOptions: {
23+
ignored: /node_modules/,
24+
},
2225
};

0 commit comments

Comments
 (0)