extra watch webpack plugin
extra-watch-webpack-plugin would help you to attach extra files or dirs to webpack's watch system
support webpack@1,2,3,4
Install
npm install --save extra-watch-webpack-plugin
Options
files
:string
(absolute path or glob pattern) orarray
, default[]
, attach extra files to webpack's watch systemdirs
:string
orarray
, default[]
, attach extra dirs to webpack's watch system
Usage
// webpack.config.js;...... plugins: files: 'path/to/file' 'src/**/*.json' dirs: 'path/to/dir'