yeoman/generator-ember — pull request #35 by fayimora (2013-05-21 18:20:10+00:00)
Title: Add grunt-neuter for managing multiple files. This also fixes #27 and closes #15

So a couple of changes in this PR. Firstly, I have included `grunt-neuter` for managing sub-folders in `scripts` like `models`, `routes` and so on. It's obviously much better than manually cluttering `app/index.html`.

In `app.js`, you can write something like `require('app/scripts/models/*')` to require all js files there or `require('app/scripts/models/**/*')` to require all js files in all sub directories. It wraps the content of each file in a function(can be configured) so no worries about leaks. This should be the first step towards sub-generators(coming soon :wink: )

I have also refactored `compiled-templates.js` from the `main.js` build block into it's own build block. It fixes #27 :smile:

You will notice the livereload watcher no longer watches js files. There is a bug where two watchers cannot watch the same file as only one will get triggered. To cater for this, the neuter watcher watches js files and triggers the livereload task :thumbsup:

So...... what do you guys think?

Cheers