loads / loads-web

Web dashboard for Loads
Apache License 2.0
5 stars 3 forks source link

Adding stylus task to npm scripts #39

Closed pdehaan closed 9 years ago

pdehaan commented 9 years ago

Now you can run Stylus->CSS conversion by typing npm run stylus from the CLI and npm will use the locally installed Stylus module in ./node_modules/.

Fixes #38

pdehaan commented 9 years ago

r? @darkwing

darkwing commented 9 years ago

w00t! Thank you!

pdehaan commented 9 years ago

This should work, but will obviously require that you run npm run stylus before starting the server. Not sure if you want to do an add-on PR to explicitly call npm run stylus from the npm start command, or maybe see if we can hack together an "prestart" command which will generate the CSS before starting the web server.