It could be very convenient to have a file watcher to start/stop based on some file system events ( like waiting a file produced by a remote a 3th party software).
The same system could also be a way to skip optional branches of a workflow if some files are for example not present.
Parameters for the files watcher :
watch: ["/path/to/the/files/to/watch/*"] # Files to watch
exclude: ["tmp/", "build/*"] # List of patterns to exclude
events: [create, write, remove, rename, chmod] # List of type of Filesystem events to listen to
It's already possible by creating a script that watches a file to be created, still, it's great to have it as a feature. PR for this would be appreciated.
It could be very convenient to have a file watcher to start/stop based on some file system events ( like waiting a file produced by a remote a 3th party software). The same system could also be a way to skip optional branches of a workflow if some files are for example not present.
Parameters for the files watcher :
Thanks