From 713de8cda78d61fa9ef1ab88f3683cf06863f381 Mon Sep 17 00:00:00 2001 From: Rafael Barbosa Lopes Date: Mon, 19 Feb 2018 00:31:25 -0300 Subject: [PATCH] Use webpack-shell-plugin `onBuildExit` event, so bundled files are also copied when using `webpack watch` too. --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 8be3c4bba..17dd8a932 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,7 +39,7 @@ module.exports = { }), new WebpackShellPlugin({ - onBuildEnd: 'node copy-to-examples.js' + onBuildExit: 'node copy-to-examples.js' }) ],