fix spawn on Windows (#80)

This commit is contained in:
Conduitry 2019-10-23 12:19:21 -04:00
parent 66cb32c6fc
commit 724510f4f9

View file

@ -6,7 +6,7 @@ export default {
writeBundle() { writeBundle() {
if (!running_dev_server) { if (!running_dev_server) {
running_dev_server = true; running_dev_server = true;
child_process.spawn('npm', ['run', 'start:dev'], { stdio: ['ignore', 'inherit', 'inherit'] }); child_process.spawn('npm', ['run', 'start:dev'], { stdio: ['ignore', 'inherit', 'inherit'], shell: true });
} }
} }
}; };