1.0.3 • Published 6 years ago

extra-watch-webpack-plugin v1.0.3

Weekly downloads
16,656
License
MIT
Repository
github
Last release
6 years ago

NPM version Build Status Build status Coverage Status Dependency Status Greenkeeper badge

npm install --save extra-watch-webpack-plugin
  • files: string (absolute path or glob pattern) or array, default [], attach extra files to webpack's watch system
  • dirs: string or array, default [], attach extra dirs to webpack's watch system
// webpack.config.js
import ExtraWatchWebpackPlugin from 'extra-watch-webpack-plugin';
......
{
  plugins: [
    new ExtraWatchWebpackPlugin({
      files: [ 'path/to/file', 'src/**/*.json' ],
      dirs: [ 'path/to/dir' ],
    }),
  ],
}