~dvko/dotfiles

bcacd238b316056607db270859202bfb00a0b109 — Danny van Kooten 5 months ago 0f75fa6
add makewatch command to run `make` whenever any file in project dir changed
1 files changed, 9 insertions(+), 0 deletions(-)

A bin/makewatch
A bin/makewatch => bin/makewatch +9 -0
@@ 0,0 1,9 @@
#!/usr/bin/env bash

set -e 
echo $1 

while true; do \
    make $1; \
    inotifywait -qre close_write .; \
done