maximilianschmitt/gulp-book — pull request #3 by jedmao (2014-09-07 08:40:58+00:00)
Title: Organize files, tasks. Introduce livereload.

I change the folder structure, pulling scripts and styles out of the assets folder and into their own scripts and styles folders at root. This makes build tasks more simple and clear as well.

I've organized the tasks into a tasks folder. I can pull it back out if we don't like it, but I feel it gives a clear separation to the tasks and allows you to jump to the task you are concerned about more easily.

Introduced the resource pipeline, which allows us to replace the `builds` folder with just `dist`. Basically, all development files will be served up on demand via middleware, leaving no purpose for a `builds/dev` folder. As such, we only really need a `builds/prod` folder, which is now what the `dist` folder would be. Open to discussion.

`gulp-compass` builds out files to their compass configuration destination, regardless of where we pipe files. This is the only purpose for the `.tmp` folder, to be washed away.

I'm not quite sure what to do about the templates yet, as they have inside them handlebars helpers. That can't be easily converted to Hogan, far as I know. As such, we might have issues with HTML minification.