Sha256: b3febf958d219194f4b5c4a8b96b3181fb6bef6d145d950bcbc9b6118e6865ae
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
require 'fileutils' module Guard class Pow class Runner def restart_pow FileUtils.mkdir 'tmp' unless File.directory?("tmp") FileUtils.touch 'tmp/restart.txt' UI.info "Pow restarted." Notifier.notify("Pow restarted.", :title => "Pow", :image => :success) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
guard-pow-1.0.0 | lib/guard/pow/runner.rb |
guard-pow-0.2.1 | lib/guard/pow/runner.rb |
guard-pow-0.1.0 | lib/guard/pow/runner.rb |