sollten… Ja, die Trends zeigen, dass mehr nach Gulp als Grunt gesucht wird, die Technologie wirkt zukunftsträchtiger…. Und wir haben gerade gemerkt, dass wir schon ein Buch zu Grunt veröffentlichen …. Weiß nicht, ob das nötig ist, die Konzepte sind die gleichen, die Technologien sind ja eigentlich austauschbar Aha
Gulp • Gulp command-line interface • The local Gulp installation • The Gulpfile and Gulp plugins • Streams and the virtual file system • Readable and Writeable Streams • Transforming Data • The Virtual File System • Streams in Gulp • Our First Gulpfile • Creating a JavaScript bundle: The script task • Doing Quality checks: The test task • Compiling Less: The styles task • Summary • Setting up Gulp • The building blocks of Gulp • The Gulp Command Line Interface • The local Gulp installation • Creating Gulpfiles • A Gulp "Hello World" task • Dealing with streams • Readable and writeable streams with Gulp • Handling tasks with Gulp plugins • Transforming data • Changing the file structure • Chaining plugins • Summary
with injection 1. Request File system Serves files Notifies of change Watched by Your Gulpfile watches over changes in your file system. Once a change occurs, Gulp notifies the server that a change has happened. BrowserSync, knowing of the files it serves, swaps the new contents in through the established websocket connection. No reload is seen, just the new contents. The client (browser) requests files from your server. The response is modified by the addition of a new JavaScript file, injecting a websocket connection to the server.