tooling / book-of-modern-frontend-tooling

The Front-end Tooling Book
http://tooling.github.io/book-of-modern-frontend-tooling/
2.53k stars 177 forks source link

Gulp Chapter Updates (Advanced/basic tasks, typos, etc.) #71

Closed travm closed 9 years ago

travm commented 9 years ago

Separated tasks into basic and advanced sections.

Rewrote the server task and cleaned up what typos and mistakes I could find. I actually don't use Gulp to spin up a server very often in my normal workflow, so please check the code for accuracy and please let me know if there are ways to improve on it.

Added BrowserSync to replace LiveReload content.

Let me know if there are any improvements that can be made!

travm commented 9 years ago

Thanks for all the notes guys, this helps out a lot! I'll get these changes made this evening and push them asap.

addyosmani commented 9 years ago

Thanks @travm! :)

travm commented 9 years ago

This should have all of the suggested changes included. I'm going to get started on the troubleshooting section soon.

What are your thoughts on gulp-plumber? I know error handling is one of the biggest features planned for Gulp 4, so I wasn't sure if we should wait for it, or go ahead and include some examples using gulp-plumber in the meantime?

sindresorhus commented 9 years ago

What are your thoughts on gulp-plumber? I know error handling is one of the biggest features planned for Gulp 4, so I wasn't sure if we should wait for it, or go ahead and include some examples using gulp-plumber in the meantime?

Go for it. Gulp 4 is most likely not happening for a good while.

addyosmani commented 9 years ago

What are your thoughts on gulp-plumber? I know error handling is one of the biggest features planned for Gulp 4, so I wasn't sure if we should wait for it, or go ahead and include some examples using gulp-plumber in the meantime?

:+1: Let's merge in these changes for now and you can start off a fresh PR for those additions. Thanks again!