Last 12 weeks · 0 commits
2 of 6 standards met
Repository: sharkdp/trigger. Description: Run a user-defined command on file changes Stars: 191, Forks: 9. Primary language: Shell. Languages: Shell (100%). License: MIT. Topics: inotify, shell. Open PRs: 0, open issues: 1. Last activity: 5y ago. Community health: 42%. Top contributors: sharkdp.
If watches a file which contains some sort of loop or long-running task, and the watched file changes, does not re-execute. It would be nice to have an option where would abort all previous executions of a script, even if they are still running, when it detects changes to one or more of the watched files. Here's a repro: 1) Create : 2) Start watching index.js with a trigger: 3) Execute a on $ touch index.js 4) Note that does not re-launch