1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +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, logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes // enable / disable watching file and executing tests whenever any file changes
autoWatch: true, autoWatch: false,
// start these browsers // start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
@@ -176,6 +176,11 @@ module.exports = function (config) {
fs: 'empty' fs: 'empty'
} }
}, },
webpackMiddleware: {
watchOptions: {
ignored: [/\/\./, 'node_modules']
}
},
proxies: { proxies: {
'/js/': '/base/node_modules/sql.js/dist/' '/js/': '/base/node_modules/sql.js/dist/'
} }