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
Consider to replace gulp-webserver with browsersync.io #119
Comments
Can it implement HTTPS? The thing is that gulp-webserver includes a self-signed cert that can be registered just one time. |
Yes it works the same way. Self signed cert is included in too,. Defined by the https switch. Plus you have more advanced stuff like socket.io for updates caused by code changes. Map bower components to /bower_components and so on |
Works for me… if you do this, can you also make sure all docs are updated that explain the process of trusting the cert & how to setup the auto reload? Love browser sync so this would be a good enhancement. |
Sure. I will check for references but in general the procedure should be the same. |
Added pull request that contains the replacement of gulp-webserve with browsersync.io and minor fixes. See description of pull request. |
nicely done sir. @andrewconnell did you want to validate this one ? |
The build broke… seems lots of tests are now failing with this PR: |
Seems like it is caused by the greater than version 2.1.1 reference of browser-sync in the _package.json files. |
Another issue might is the browser-sync compilation during installation. |
I’m not able to dig into it at this moment because I’m neck deep in other work. The tests should pass without the fix being removing them ;) |
Found the issues and fixed them ;) |
@andrewconnell Currently working on a blog post about the browser sync enhancements in yeoman generator. Mind if I create an additional page for browser-sync features to the documentation too?
|
Sounds good... go for it. I'm not very involved in this project right now so I'd direct questions like this to @jthake instead...
|
@StfBauer I am working on the next version of generator-office now and decided to go with browsersync. Would love to have you code review some of my work if possible. I will let you know once I have it on the magical interweb... |
@beth-panx Awesome!!! If you need something let me know cause I already implemented that kind of stuff in yo office. |
@StfBauer Browsersync has been implemented in v 1.0. Feedback wanted and more than welcomed! |
Just need to find time to check it out. Maybe next week or so. |
Replacing the gulp-webserver with browsersync.io allows testing of multiple browser at the same time. By replacing gulp-webserver it is also possible to implement automatic reload of the app frame when files was changed. I think it would be pretty useful and this makes the refresh of the browser window obsolete.
I currently tested it in an instance of the generator and from my point of view it worked pretty well.
If you like I can implement this.
The text was updated successfully, but these errors were encountered: