I made it work this way:
- create directory
webpack.config.d
at the root of the project - create file
wp.js
(name does not matter as long as it is a.js
file)in it with the following content:
config.watch = true;
- run your task with
--continuous
(shorthand:-t
) as @ivan.kubyshkin says should now update the javascript correctly.
@ilya.goncharov @ivan.kubyshkin
KotlinWebpack.kt, doExecute, L232 seems to assume that webpack has watch
enabled. Could this be decided through the gradle plugin? After all some of the webpack configuration options such as reporting are configured from the gradle script through the kotlin plugin.
Hope this helps.