To avoid a lot of repetitive code and having to change variables by hand and
whatnot, I've opted to use Grunt to handle some automated tasks in /styles
and
/client
. To use this setup, follow these steps.
- Install Node.js
- Open a command line in the repository directory
- Run
npm install
ornpm i
- Run
grunt watch
For each subsequent use after all the installation, just run the last command.
Now you can edit the .scss
and .pug
files and Grunt will handle compiling
them into .css
and .html
files respectively upon saving.