| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Create a `PathWatcher` helper type that presents itself as an `Iterator`
over events on a specified path. It also allows setting a timeout for
waiting for each event, so that it doesn't block indefinately.
Although it watches a specific path, in reality it watches the path's
parent directory, so that it can continue watching the file if it gets
removed and recreated.
|
|
|
|
Change `wait_for_file_to_be_deleted` to not panic, otherwise the main
thread doesn't get notified that it should close.
|
|
Simply creates a special file in the current working directory, prints
its command line arguments into it and waits for it to be removed so it
finishes.
|