javascript - How to use grunt-webpack with watch and keepalive -
i'm trying use grunt-webpack continuously build bundle. documentation says setting watch
, keepalive
true
make stay , watch file changes, when run grunt task, builds bundle , exits.
what missing?
for now, found workaround using grunt-exec plugin:
exec: { 'webpack-watch': 'webpack --watch' }
works charm, not elegant using grunt-webpack plugin.
Comments
Post a Comment