Permalink
Browse files

Fixes #39 - Should build on Windows now

  • Loading branch information...
1 parent 36f0bfd commit 864bfa17edc7199dd84c2a665e5ec703fd619bac @davglass davglass committed Dec 27, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cmds/build.js
View
4 lib/cmds/build.js
@@ -57,7 +57,9 @@ mods = {
log.debug(shifter + ' ' + args.join(' '));
- child = spawn(shifter, args, {
+ args.unshift(shifter);
+
+ child = spawn(process.argv[0], args, {
cwd: this.dir,
stdio: 'inherit'
});

0 comments on commit 864bfa1

Please sign in to comment.