Skip to content

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

@LantosIstvan

Description

@LantosIstvan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions