We use Grunt as our build sytem for compiling SASS and Javascript, and running various tests/linting functions.
- Make sure you have Grunt installed globally.
- Go to your theme directory and install the necessary libraries using
npm install
- Voilà! Run
grunt watch
in your terminal and leave it there. It will watch your change and recompile everything for you. You should see something like this.
Running "watch" task
Waiting...
Please make sure that you've run grunt
in your theme folder prior to committing a change in styling or script. Right now our continuous integration doesn't run the command automatically and deploy updated assets, so we have to compile manually.