bin/tork-herald in tork-19.4.0 vs bin/tork-herald in tork-19.5.0
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
=begin =======================================================================
-# TORK-HERALD 1 2013-11-25 19.4.0
+# TORK-HERALD 1 2013-11-30 19.5.0
## NAME
tork-herald - reports modified files
@@ -35,9 +35,9 @@
require 'json'
STDOUT.sync = true # flush puts() output immediately after writing
require 'listen'
-Listen.to('.', :relative_paths => true) do |modified, added, removed|
+Listen.to! '.', :relative_paths => true do |modified, added, removed|
files = modified + added
puts JSON.dump(files) unless files.empty?
-end.start
+end