Commit 68aa5e7d authored by Alain Takoudjou's avatar Alain Takoudjou

librecipe execute: notify on file moved too

parent 38e0faea
...@@ -22,8 +22,8 @@ def _wait_files_creation(file_list): ...@@ -22,8 +22,8 @@ def _wait_files_creation(file_list):
watchdescriptors = dict() watchdescriptors = dict()
for dirname in directories.keys(): for dirname in directories.keys():
wd = inotifyx.add_watch(fd, wd = inotifyx.add_watch(fd,
dirname, dirname,
inotifyx.IN_CREATE | inotifyx.IN_DELETE) inotifyx.IN_CREATE | inotifyx.IN_DELETE | inotifyx.IN_MOVE)
watchdescriptors[wd] = dirname watchdescriptors[wd] = dirname
# Set to True the file wich exists # Set to True the file wich exists
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment