While my coffeescript compiles just fine with the node.js compiler, guard-coffeescript is throwing "ERROR: game.coffee: can't convert nil into String", without a line number or anything debugging info. I have no idea where to start with this one.
This is my guard.
guard 'coffeescript' do
Fix compilation when using a simple watch expression. (Closes #11)
Set the output directory to the current working directory when
no `:input` or `:output` option is provided, or the watcher regexp
contains no match group.
The problem was that there is no :input or :output option provided and the watch doesn't contain a match group, which is normally used to support creation of nested output directories.
I changed guard-coffeescript to assume the output is the current working directory when all of the above infos are missing.