-
-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
While working on a script that I have StreamController run, I thought it would have been nice if there was a way to run the script when some external event occurred (in my case when a file was added or removed from a directory). I used the run every x seconds feature in the OS Run Command action. That works, but does cause the commands to get run a lot when most of the time nothing will have changed.
So I propose that StreamController use inotify (or something similar) and a new config section be added to OS Run Command to specify what kind of event on what file/directory to watch for. When the inotify event is triggered, the specified command is run.
There may be other actions besides OS Run Command, where this would be useful.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status