๐Ÿ“ฆ sharkdp / trigger

Run a user-defined command on file changes

โ˜… 190 stars โ‘‚ 9 forks ๐Ÿ‘ 190 watching โš–๏ธ MIT License
inotifyshell
๐Ÿ“ฅ Clone https://github.com/sharkdp/trigger.git
HTTPS git clone https://github.com/sharkdp/trigger.git
SSH git clone git@github.com:sharkdp/trigger.git
CLI gh repo clone sharkdp/trigger
David Peter David Peter Add waiting loop for cases where the file was moved 8d039e3 6 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ tg
๐Ÿ“„ trigger
๐Ÿ“„ README.md

trigger

`` bash Usage: trigger COMMAND [FILE...] %%CODEBLOCK0%% trigger make %%CODEBLOCK1%% bash trigger 'python #1' main.py config.py %%CODEBLOCK2%% bash tg python main.py config.py %%CODEBLOCK3%% bash tg 'pandoc -t latex -o README.pdf' README.md %%CODEBLOCK4%% bash trigger 'lessc #1 > main.css' main.less %%CODEBLOCK5%% bash trigger -i longRunningCommand input.dat %%CODEBLOCK6%% bash git clone https://github.com/sharkdp/trigger ~/.trigger echo 'export PATH="$PATH:$HOME/.trigger"' >> .bashrc ``

Related projects

Also have a look at these projects, to see if they fit your needs better: