Before running any Gulp tasks:
- Check out this repository
- Ensure you have node installed
- Almost, ensure you have ruby, compass and singularitygs installed
- Run
npm installandbower installin the root directory
All of the following are available from the command line.
These tasks I use as part of my regular developments and deploy scripts:
gulp watch-devClean, build, and watch live changes to the dev environment. Built sources are served directly by the dev server from /dist.dev.gulp watch-prodClean, build, and watch live changes to the prod environment. Built sources are served directly by the dev server from /dist.prod.gulpDefault task builds for dev. Built sources are put into /dist.dev, and can be served directly.