Build / Deploy Tools
- A grunt task that enables live reloading of updated watch files in the browser.
- plugin for linting and minifying CSS
Articles: http://blog.pamelafox.org/2012/05/using-gruntjs-with-css.html :: Using Grunt.js with CSS
It’s like LiveReload (or CodeKit) plus Grunt, but much more faster, robust and universal. http://brunch.io/ :: Brunch | HTML5 application assembler
Great plugins / skeletons: https://github.com/icholy/ember-brunch :: icholy/ember-brunch
http://yeoman.io/ :: Yeoman http://addyosmani.com/blog/improved-developer-tooling-and-yeoman/ :: Improved Developer Tooling and Yeoman
Yeoman (Yo + Grunt + Bower)
yo (the scaffolding tool), scaffolds out a new application, writing your Grunt configuration and pulling in relevant Grunt tasks that you might need for your build
grunt (the build tool), used to build, preview and test your project
npm install -g yo grunt-cli bower
You may also want to install and use additional generators. This is done
npm. You can see available generators with
npm search yeoman-generator
and then install them with
npm install [name].
For Ember.js, we need:
npm install -g generator-ember mkdir webapp && cd webapp yo ember grunt server --force
Node restart on change
Node Supervisor is used to restart programs when they crash. It can also be used to restart programs when a *.js file changes.
https://github.com/isaacs/node-supervisor :: isaacs/node-supervisor
Alternatives to Node Supervisor are Run and Nodemon. Run is not as feature-rich as Supervisor. Nodemon is also feature rich, but I have found it to be a CPU hog, also it doesn’t restart after some runtime exceptions.
Simple node.js server restart. You can use nodemon with forever (restarting a node if server chrashes).
https://github.com/remy/nodemon :: remy/nodemon http://remysharp.com/2010/10/12/nodejs-rapid-development-nodemon/ :: node.js rapid development: nodemon
Client-side package management
[Volo][volo] is very mature and is also a scaffolding tool.