-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
Lines 188 to 200 in 5754f39
| function watch_files_via_dir(dirname) | |
| watch_file(dirname) # this will block until there is a modification | |
| latestfiles = String[] | |
| wf = watched_files[dirname] | |
| for file in wf.trackedfiles | |
| path = joinpath(dirname, file) | |
| if mtime(path) + 1 >= floor(wf.timestamp) # OSX rounds mtime up, see #22 | |
| push!(latestfiles, path) | |
| end | |
| end | |
| updatetime!(wf) | |
| latestfiles | |
| end |
On FreeBSD modifying a existed file which located at dir will not being caught by watch_dir(dir).
Metadata
Metadata
Assignees
Labels
No labels