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

Gulp 4 #56

Open
iparr opened this issue Nov 23, 2016 · 2 comments
Open

Gulp 4 #56

iparr opened this issue Nov 23, 2016 · 2 comments

Comments

@iparr
Copy link
Contributor

iparr commented Nov 23, 2016

This documentation page includes the line:

This will be easier in gulp 4.x.x

Could an example of reloading the JS appropriately be provided?

I think many of us have started using Gulp 4 and guidance on this particularly would be really helpful.

Thank you.

@revelt
Copy link
Contributor

revelt commented Feb 9, 2017

I guess the answer example would be using gulp.series() and put the reload in the end, called in a post 2.0.0 syntax:

export function reload () {
  return new Promise(function (resolve) {
    bs.reload()
    resolve()
  })
}

?

I agree, any help with Gulp 4-specific examples would greatly save time.

@revelt
Copy link
Contributor

revelt commented Feb 9, 2017

There's a new recipe for Gulp v4 covering BrowserSync:
https://github.com/gulpjs/gulp/blob/4.0/docs/recipes/minimal-browsersync-setup-with-gulp4.md

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