Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change current working directory #25

Closed
henrytseng opened this issue Jul 13, 2016 · 1 comment
Closed

Change current working directory #25

henrytseng opened this issue Jul 13, 2016 · 1 comment

Comments

@henrytseng
Copy link
Contributor

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
Copy link
Contributor Author

Hmmm, didn't read the source code before I wrote this. Maybe document? I'll throw out a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant