Skip to content

Instantly share code, notes, and snippets.

@peko
Created May 7, 2019 10:09
Show Gist options
  • Select an option

  • Save peko/9ff1e04d13e366afdb9ae450f77cb3f4 to your computer and use it in GitHub Desktop.

Select an option

Save peko/9ff1e04d13e366afdb9ae450f77cb3f4 to your computer and use it in GitHub Desktop.

Revisions

  1. peko created this gist May 7, 2019.
    5 changes: 5 additions & 0 deletions watch_build.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    watch_files=*.c
    while inotifywait -e close_write $watch_files
    do
    # build commands
    done