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

open: { browser: 'Google Chrome'} error! #209

Closed
xgqfrms-GitHub opened this issue Oct 4, 2016 · 3 comments
Closed

open: { browser: 'Google Chrome'} error! #209

xgqfrms-GitHub opened this issue Oct 4, 2016 · 3 comments

Comments

@xgqfrms-GitHub
Copy link

xgqfrms-GitHub commented Oct 4, 2016

open: { browser: 'Google Chrome'}

open-error

@xgqfrms-GitHub
Copy link
Author

gulp-error
gulp-task-error

@justinmchase
Copy link
Collaborator

Tasks should either be an array of strings or a function. You are calling connect.server and passing the return value of that function in as a task which will end up being either an object or undefined I can't remember. Both of which are invalid tasks.

So turn this:

gulp.task('connect', connect.server(...

into:

gulp.task('connect', () => {
  connect.server(...)
})

@xgqfrms-GitHub
Copy link
Author

Thanks a lot!

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

2 participants