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

Feature request: ability to start the server with shell commands #45

Open
DJviolin opened this issue Apr 21, 2016 · 0 comments
Open

Feature request: ability to start the server with shell commands #45

DJviolin opened this issue Apr 21, 2016 · 0 comments

Comments

@DJviolin
Copy link

DJviolin commented Apr 21, 2016

I want to start the server with a shell command like this:

gulp.task('start', shell.task([
  'node --trace-deprecation --trace-sync-io ./bin/www'
]));

Is there a way to achieve this with gulp-express?

gulp.task('start', function () {
  server.run(['node --trace-deprecation --trace-sync-io ./bin/www']);
})

The following throws an error. The gulp-shell method is fine, but I want to use the server reload feature for express.

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