bin/powder in powder-0.2.1 vs bin/powder in powder-0.2.2
- old
+ new
@@ -235,17 +235,19 @@
desc "log", "Tails the Pow log"
def log
path_to_log_file = "#{ENV['HOME']}/Library/Logs/Pow/apps/#{current_dir_name}.log"
if File.exist? path_to_log_file
+ trap('INT') { say "\nExiting log..." }
system "tail -f #{path_to_log_file}"
else
say "There is no Pow log file, have you set this application up yet?"
end
end
desc "applog", "Tails in current app"
def applog(env="development")
+ trap('INT') { say "\nExiting applog..." }
system "tail -f log/#{env}.log" if is_powable?
end
desc "uninstall", "Uninstalls pow"
def uninstall