gimm / gulp-express

gulp plugin for express
56 stars 26 forks source link

Specify node version/string #40

Open tolmasky opened 9 years ago

tolmasky commented 9 years ago

Would really like to be able to do something like this:

server.run({ node_string: "babel-node", file: "whatever" })

It would then use this exact string in place of "node" in the spawn command, that way it would do spawn("babel-node"....). Or alternatively, node-0.12, etc

gimm commented 9 years ago

@tolmasky would you mind give https://github.com/gimm/gulp-live-server a try, its the new version of gulp-express. It uses process.execPath instead of node in the spawn command, should be able to fulfill your requirement here.