GitShow/sharkdp/trigger
sharkdp

trigger

Run a user-defined command on file changes

by sharkdp
inotifyshell
Star on GitHubFork

Shell

189 stars9 forks2 contributorsQuiet · 6y agoSince 2016MIT

Meet the team

See all 2 on GitHub →
sharkdp
sharkdp20 contributions

Languages

View on GitHub →
Shell100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 discussion · Last activity 6y ago
See all on GitHub →
sharkdp
Consider supporting fswatchOpenIssue

We could probably support both inotifywait and fswatch as an alternative backend http://emcrisostomo.github.io/fswatch/

sharkdp · 6y ago

Recent fixes

View closed PRs →
ChrisPenner
Add Mac support using fswatchMergedPR

This should do the trick. I've tested the Mac version, but unfortunately don't have a linux machine to test with so you may just want to double check that it still works 👍

ChrisPenner · 5y ago
sharkdp
Add --interrupt flag, closes #4MergedPR
sharkdp · 9y ago
who
Files which do not finish executing are not re-executedClosedIssue

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

who · 9y ago
Structured data for AI agents

Repository: sharkdp/trigger. Description: Run a user-defined command on file changes Stars: 189, Forks: 9. Primary language: Shell. Languages: Shell (100%). License: MIT. Topics: inotify, shell. Open PRs: 0, open issues: 1. Last activity: 6y ago. Community health: 42%. Top contributors: sharkdp.

·@ofershap

Replace github.com with gitshow.dev