Skip to content

Commit

Permalink
fix(public/exec): fixes stream commands to match current globals mana…
Browse files Browse the repository at this point in the history
…gement
  • Loading branch information
rafamel committed May 6, 2019
1 parent 62d4e5e commit 5600b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/exec/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function stream(
if (!children.length) throw Error(`No project children selected`);

const commands = children.map((child) => {
return [NODE_PATH, KPO_PATH, '@' + child.name]
return [NODE_PATH, KPO_PATH, '-d', child.directory]
.concat(argv)
.concat(args.length ? ['--'].concat(args) : []);
});
Expand Down

0 comments on commit 5600b8e

Please sign in to comment.