scripts:start should support cli arguments to be passed to drone #238

Closed
dscape opened this Issue May 10, 2012 · 8 comments

Projects

None yet

7 participants

@dscape
Member
dscape commented May 10, 2012

I tried doing something like:

 "scripts": {
     "start": "node server.js -c test"
  }

Any reason why this would not work?

@jfhbrook
Contributor

Yes. Haibu is not smart enough to parse cli args.

@Marak
Contributor
Marak commented May 10, 2012

There is an open patch for this. Haven't had time to merge.

@jfhbrook
Contributor

Took a cursory glance at the open patch, does not look quite up-to-snuff. Will need to investigate haibu pulls further.

@wesbos
wesbos commented Jan 14, 2013

Any update on this? Need this to pass --harmony flag

@btford
btford commented Jan 17, 2013

+1; I'd also like to be able to use --harmony.

@indexzero
Member

@btford has stepped up to the plate and is going to implement the haibu API @jesusabdullah suggested here

@wesbos
wesbos commented Jan 18, 2013

Awesome, thanks guys

@julianduque
Contributor

This landed on 0.13.x you can define arguments in your start script like:

"scripts": {
  "start": "node --expose_gc server.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment