gimm / gulp-express

gulp plugin for express
56 stars 26 forks source link

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

Open DJviolin opened 8 years ago

DJviolin commented 8 years ago

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.