notebook/app/webpack.config.watch.js
2021-04-20 12:14:32 +02:00

18 lines
371 B
JavaScript

const base = require('./webpack.config');
const ExtraWatchWebpackPlugin = require('extra-watch-webpack-plugin');
module.exports = [
{
...base[0],
bail: false,
watch: true,
plugins: [
...base[0].plugins,
new ExtraWatchWebpackPlugin({
files: ['../packages/_metapackage/tsconfig.tsbuildinfo']
})
]
},
...base.slice(1)
];