calatrava/calatrava — pull request #77 by priyaaank (2013-06-05 14:15:14+00:00)
Title: Compile Kernel/Shell coffeescript files automatically upon change, when apache is running

**It's NOT a issue but good to have feature.**

Added a small addition in setup to use filewatcher gem to specifically watch the coffee files in kernel/app/, kernel/plugins and shell/ for changes. Once a coffeescript file is changed it's automatically compiles to js and copied over to web/public/scripts.

Since this is a add-on configuration; it's straight forward to override per project basis. To modify a user would need to modify .auto_compile.rb at project root and optionally remove filewatcher gem if not needed.

web:apache:start rake tasks looks out for presence of "filewatcher" gem and will start the filewatcher as a child process, if present. If the gem is not present in gem set, it merely leaves a WARN to user indicating that since gem is missing auto compilation won't happen.