AngularJS + Brunch + LiveScript
Features:
- LiveScript / Sass / SCSS / Stylus automatically compiled on save
- auto-reload during development saves you from manually refreshing the page
- Javascript / CSS minification for production
- testacular integration for unit tests
- Bootstrap integration with themes.
git clone https://github.com/clkao/angular-brunch-seed-livescript.git
to clone the angular-brunch-seed-livescript repositorycd angular-brunch-seed-livescript
./scripts/init.sh
to install node packages
or if you have Brunch installed run:
brunch new myapp --skeleton https://github.com/clkao/angular-brunch-seed-livescript
./scripts/server.sh
to serve using Brunch
Then navigate your browser to http://localhost:3333
./scripts/production.sh
to minify javascript and css files.
./scripts/test.sh
to run unit test with testacular- Open the browser you would like to test to http://localhost:3334
Notes:
- If you would like to write your test in livescript run
./scripts/compile-tests.sh
in a seperate window. - Testacular will run tests on save. To insure that changes are
saved be sure to have
./script/server.sh
or./script/development.sh
running in the console. - If you are on OS X you set the browsers that you would like to target
in the
/test/testacular_conf.js
file E.g.browser = ["ChromeCanary", "Firefox"]
WIP
EMFILE
error
- EMFILE means there're too many open files. Brunch watches all your project files and it's us