Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 8e108a3

Browse files
committed
Fix dev command when running with npm - fix #119
1 parent afcb739 commit 8e108a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/commands/dev/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ function startDevServer(settings, log) {
155155
return;
156156
}
157157
log(`${NETLIFYDEVLOG} Starting Netlify Dev with ${settings.type}`);
158-
const args =
159-
settings.command === "npm" ? ["run", ...settings.args] : settings.args;
160-
const ps = execa(settings.command, args, {
158+
const ps = execa(settings.command, settings.args, {
161159
env: settings.env,
162160
stdio: "inherit"
163161
});

0 commit comments

Comments
 (0)