Skip to content

UnhandledPromiseRejectionWarning server.start() Gulp 4 #69

Description

@timdiacon

I'm getting the following warning thrown when I start the server

(node:69565) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: Request failed with status code 404

I'm just using a regular gulp function and I've tried returning the the method as shown here, using a then(success, error) approach or a .catch() and nothing seems to get rid o that warning :-(

gulp.task('default', function(){ var server = gls.new('bin/www', {env: {DEBUG:'*'}}); return server.start(); });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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