1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

ignore node_modules in watch

This commit is contained in:
lana-k
2021-01-14 18:48:11 +01:00
parent badcefc4f7
commit 42199f6ebc

View File

@@ -81,7 +81,7 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
autoWatch: false,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
@@ -176,6 +176,11 @@ module.exports = function (config) {
fs: 'empty'
}
},
webpackMiddleware: {
watchOptions: {
ignored: [/\/\./, 'node_modules']
}
},
proxies: {
'/js/': '/base/node_modules/sql.js/dist/'
}