Join Ray Villalobos for an in-depth discussion in this video Reloading our browser automatically, part of Web Project Workflows with Gulp.js, Git, and Browserify.
…We've got a pretty comprehensive work flow.…Folders are getting watched, scripts are getting processed,…all automatically with a single command from the terminal.…It kind of stinks that we have to…reload our browser every time our files get updated.…Well, never fear, there's one more plugin we can use, and it will…automatically reload all of our pages, when we make any changes to our files.…Now this one's called gulp-connect, and it's going to solve…another problem you may not be noticing just yet.…Now remember when I told you that we were using a…library called mustache.js to merge some data from a data.json file.…So if you remember, we have a js folder in the development folder with a…data.json file, and we have a script file that technically is bringing this data.…And creating a section of our page.…But, if we go there right now, you're…going to see that there's nothing in this section called…Speakers on tour, and the reason that's happening you…find out by right clicking and selecting Inspect element.…
- Why workflow management?
- Processing tasks with gulp-coffee
- Importing libraries with Browserify
- Processing Sass and Compass
- Issuing tasks in sequence
- Watching changes to files
- Adding static reloads
- Setting up environment variables
- Minifying HTML
- Compressing images
Skill Level Intermediate
Q: When using the exercise files with the "git add" command on a PC, why do I receive warnings saying "LF will be replaced by CRLF"?
A: When running Unix files on a Windows workstation, the text formats are not exactly the same. Line Feeds (LFs) have to be converted to "Carriage Returns + Line Feeds.”