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

Commit 0233de6

Browse files
committed
fix: Making sure command is properly set in settings from dev block in toml
1 parent 79387cd commit 0233de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detect-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ module.exports.serverSettings = async devConfig => {
9191
settings = settings || {};
9292
if (devConfig.command) {
9393
settings.command = assignLoudly(
94-
devConfig.command,
94+
devConfig.command.split(/\s/)[0],
9595
settings.command.split(/\s/)[0]
9696
);
9797
settings.args = assignLoudly(
98-
devConfig.command,
98+
devConfig.command.split(/\s/).slice(1),
9999
settings.command.split(/\s/).slice(1)
100100
);
101101
}

0 commit comments

Comments
 (0)