Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 871 Bytes

frontend-development.md

File metadata and controls

17 lines (11 loc) · 871 Bytes

Frontend Development

We use Grunt as our build sytem for compiling SASS and Javascript, and running various tests/linting functions.

  1. Make sure you have Grunt installed globally.
  2. Go to your theme directory and install the necessary libraries using npm install
  3. 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...

Pro tip: Compile before you commit

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.