Skip to content

Commit 71a4cf0

Browse files
committed
add missing config set up for serve
1 parent b26f1a1 commit 71a4cf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/cmd.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ program
5252
startServer();
5353
return; // early terminate, don't build
5454
};
55-
build.watch(cmd, program.config, function(err, stats) {
55+
const { config: userWebpackConfig, babelrc: useBabelrc = true} = program;
56+
build.watch(cmd, { userWebpackConfig, useBabelrc}, function(err, stats) {
5657
if (err) {
5758
console.error(err);
5859
return;

0 commit comments

Comments
 (0)