maccman / catapult

A Sprockets/Rack build tool
MIT License
137 stars 14 forks source link

Rescue common exceptions so `watch` doesn't constantly break #7

Open mraaroncruz opened 12 years ago

mraaroncruz commented 12 years ago

I sometimes get ExecJS::ProgramError and Sprockets::FileNotFound and probably other exceptions raised and catapult watch fails in the background. This is obnoxious when I am updating JS files and keep getting the same errors, not aware that the build isn't happening.

mraaroncruz commented 12 years ago

current solution [Mac only (sorry)]

catapult watch; say "Catapult build broke" Make sure your volume is up. Wear headphones if you are at the library.

mraaroncruz commented 11 years ago

I just was going to push changes but saw this was fixed. Great. I will close this immediately (or of course you can) when the updates get pushed to rubygems. Thanks!