const { exec } = require('shelljs'); const config = require('./webpack.extra.common'); config.plugins = [{ apply: (compiler) => { compiler.hooks.afterEmit.tap('AfterEmitPlugin', () => { exec(`yarn bld-ng watch mod serve`, { async: false }); }); } }] module.exports = config;