The problem: when I save a hbs file it's the task runs, but it stops watching that specific file. Changes to other files still get noticed, but also just once for each file.
So each time this happens I have to stop 'grunt watch', run the compile command once, and restart 'grunt watch'.
OS X 10.8.2,
Output of grunt watch when I save the file 'navigation.hbs' twice:
Running "watch" task
>> File "templates/navigation.hbs" deleted.
>> File "templates" deleted.
Running "ember_templates:all" (ember_templates) task
File "templates.compiled.js" created.
Done, without errors.
Update: Just updated to node 0.8.18. that didn't solve the problem either.
I dont't really get why this isn't the default behavior, but setting options.interrupt to 'true' solved the problem for me.
Hm it still doesnt really work actually.. Sometimes it does, sometimes it stops watching.
Try using the latest version of the watch: npm install grunt-contrib-watch@master
npm install grunt-contrib-watch@master
Works for me! Thanks!