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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -