gimm / gulp-express

gulp plugin for express
56 stars 26 forks source link

Pass cwd option to server.run #23

Closed ghost closed 9 years ago

ghost commented 9 years ago

I'm looking for a way to set cwd option to server.run.

Could you please add an option like that :

service = child_process.spawn('node', args, options.cmdOptions);

Thanks

gimm commented 9 years ago

updated the plugin to accept args and options the same way as child_process.spawn do, so now you can do this:

server.run(<args array>,<options object>);