- Latest version of NodeJS (min v0.12.2)
- Windows only - GitBash (used instead of cmd)
- Windows only - GraphicsMagick
Use GitBash on Windows or Terminal on OSX / Linux in the theme directory.
$ npm install --global gulp && npm install
Use this command when you start work on the project:
$ gulp
This will start a process that watches for changes on the source files in the theme(e.g. postcss, templates, etc), and compile the bundle for you.
You should build once you're done with the changes. This will take care of time consuming tasks like optimizing the images and creating sprites.
$ gulp build