Commit d947b0ec by Will Daly

Coffee compile command now executes for just *.coffee items.

This resolves an error that would sometimes occur on Mac OS X:
"Error: EMFILE, too many open files"
parent 86741d94
...@@ -30,7 +30,11 @@ def coffee_cmd(watch=false, debug=false) ...@@ -30,7 +30,11 @@ def coffee_cmd(watch=false, debug=false)
end end
end end
"node_modules/.bin/coffee --compile #{watch ? '--watch' : ''} ." if watch
"node_modules/.bin/coffee --compile --watch . "
else
"node_modules/.bin/coffee --compile `find . -name *.coffee` "
end
end end
def sass_cmd(watch=false, debug=false) def sass_cmd(watch=false, debug=false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment