2015-06-17 20:47:25 +00:00
|
|
|
# JS & CSS development
|
|
|
|
You need grunt installed to compile the coffeescript and less files.
|
|
|
|
To compile all files run `grunt dev`.
|
2014-03-28 19:11:56 +00:00
|
|
|
|
2015-06-17 20:47:25 +00:00
|
|
|
## JS
|
2014-03-28 19:11:56 +00:00
|
|
|
To compile the coffeescript run:
|
2015-06-17 20:47:25 +00:00
|
|
|
`grunt js`
|
|
|
|
|
|
|
|
## CSS
|
|
|
|
To compile the less files run:
|
|
|
|
`grunt css`
|
|
|
|
|
|
|
|
## Watch Tasks
|
|
|
|
Instead of executing the command everytime you change a file, grunt can watch for changes.
|
|
|
|
Use the following commands instead:
|
|
|
|
```
|
|
|
|
grunt watch:dev
|
|
|
|
grunt watch:js
|
|
|
|
grunt watch:css
|
|
|
|
```
|