-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
This is definitely related to #4. When using the watch there is a LESS or CoffeeScript compilation error, the Terminal window freezes, causing some yucky output and preventing any readable characters.
Multiple attempts to press ctrl-c do nothing. Typing exit works, but obviously closes the Terminal tab. I've had this issue on multiple projects.
Banshee rakefile:
def banshee input, output, options={}
options = options.map { |k,v| "--#{k}" if v }.compact.join(' ')
sh "banshee #{input}:#{output} #{options}"
end
task :build => ['js:build', 'css:build']
task :compress => ['js:compress', 'css:compress']
multitask :watch => ['js:watch', 'css:watch']
namespace :js do
input = "assets/js/application.coffee"
output = "assets/js/application.js"
task :build do
banshee input, output
end
task :compress do
banshee input, output, compress: true
end
task :watch do
banshee input, output, watch: true
end
end
namespace :css do
input = "assets/css/less/application.less"
output = "assets/css/application.css"
task :build do
banshee input, output
end
task :compress do
banshee input, output, compress: true
end
task :watch do
banshee input, output, watch: true
end
end
Metadata
Metadata
Assignees
Labels
No labels
