lib/linner/command.rb in linner-0.6.7 vs lib/linner/command.rb in linner-0.7.0

- old
+ new

@@ -35,19 +35,18 @@ desc "build", "build assets" def build Linner.compile = true clean - Linner::Bundler.new(env.bundles).perform + Bundler.new(env.bundles).perform perform end desc "watch", "watch assets" def watch - trap(:INT) { exit! } clean - Linner::Bundler.new(env.bundles).perform + Bundler.new(env.bundles).perform perform watch_for_env watch_for_perform watch_for_reload sleep @@ -94,16 +93,15 @@ end def watch_for_env Listen.to Linner.root, filter: /(config\.yml|Linnerfile)$/ do |modified, added, removed| Linner.env = Environment.new Linner.config_file - Linner::Bundler.new(env.bundles).perform + Bundler.new(env.bundles).perform end end def exit! Notifier.exit Kernel::exit end end end -