Skip to content

Commit

Permalink
Merge pull request #159 from omonk/update-config-for-serve
Browse files Browse the repository at this point in the history
add missing config set up for serve
  • Loading branch information
swyxio authored May 22, 2019
2 parents 4bb01ab + 71a4cf0 commit f82b01c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ program
startServer();
return; // early terminate, don't build
};
build.watch(cmd, program.config, function(err, stats) {
const { config: userWebpackConfig, babelrc: useBabelrc = true} = program;
build.watch(cmd, { userWebpackConfig, useBabelrc}, function(err, stats) {
if (err) {
console.error(err);
return;
Expand Down

0 comments on commit f82b01c

Please sign in to comment.