A cli tool that executes a command when detected a file change.
Download the cli tool
macos:
- download the binary: https://github.com/apinanyogaratnam/auto-compile/binaries/auto-compile-macos
- move the binary to root directory:
mv auto-compile-macos ~/ac
- grant permissions:
chmod +x auto-compile
- set alias:
echo "alias auto-compile='~/auto-compile'" >> ~/.zshrc
Note: you may need to restart your terminal
This will execute the date
command when files ending with .py
and clear the output
auto-compile .py date --clear
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.