Skip to content

Instantly share code, notes, and snippets.

View makhnanov's full-sized avatar
🎯
Focusing

Roman makhnanov

🎯
Focusing
View GitHub Profile
@makhnanov
makhnanov / watch.sh
Created August 7, 2023 11:45 — forked from JarredMack/watch.sh
Bash file watcher
#!/bin/sh
############
# Usage
# Pass a path to watch, a file filter, and a command to run when those files are updated
#
# Example:
# watch.sh "node_modules/everest-*/src/templates" "*.handlebars" "ynpm compile-templates"
############