Change current working directory
henrytseng opened this issue · 1 comments
henrytseng commented
Is it possible to change the current working directory? Maybe something for example like where the application runs relative to api2/index.js
:
gulp.task('serve', function(callback) {
server.listen( {
cwd: 'api2/',
env: {
NODE_ENV: 'development',
DEBUG_COLORS: 1
},
path: 'index.js'
}, callback);
});
henrytseng commented
Hmmm, didn't read the source code before I wrote this. Maybe document? I'll throw out a pull request.