Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

fix(scripts): correctly execute ns-bundle for windows #89

Merged
merged 1 commit into from
Feb 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/ns-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function getCommand(flags) {

function spawnChildProcess(command, ...args) {
return new Promise((resolve, reject) => {
const childProcess = spawn(command, args, { stdio: "inherit", pwd: PROJECT_DIR });
const childProcess = spawn(command, args, { stdio: "inherit", pwd: PROJECT_DIR, shell: true });

childProcess.on("close", (code) => {
if (code === 0) {
Expand Down