dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] dtas-*edit: fix inotify watch invocations


From: Eric Wong
Subject: [PATCH] dtas-*edit: fix inotify watch invocations
Date: Thu, 21 May 2015 07:47:47 +0000

Broken by commit c02f0b8182b35df1a318418bbd0036c00be93b5c
("source/splitfx: allow watching extra external scripts")
Oops
---
 bin/dtas-sinkedit   | 2 +-
 bin/dtas-sourceedit | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/dtas-sinkedit b/bin/dtas-sinkedit
index 3a4bda8..f0b222c 100755
--- a/bin/dtas-sinkedit
+++ b/bin/dtas-sinkedit
@@ -78,7 +78,7 @@ else
   rset = [ sev ]
   if watch
     ino = DTAS::Watchable::InotifyReadableIter.new
-    ino.watch_file(tmp_path, do_update)
+    ino.watch_files(tmp_path, do_update)
     rset << ino
   end
 
diff --git a/bin/dtas-sourceedit b/bin/dtas-sourceedit
index bf9e829..fba0511 100755
--- a/bin/dtas-sourceedit
+++ b/bin/dtas-sourceedit
@@ -65,7 +65,7 @@ else
   rset = [ sev ]
   if watch
     ino = DTAS::Watchable::InotifyReadableIter.new
-    ino.watch_file(tmp_path, do_update)
+    ino.watch_files(tmp_path, do_update)
     rset << ino
   end
 
-- 
EW




reply via email to

[Prev in Thread] Current Thread [Next in Thread]