Created
December 9, 2017 05:47
-
-
Save tobynet/fbaaa40a265aec2b561ffe2a39f3dd54 to your computer and use it in GitHub Desktop.
Watch your code for keymaps and compile qmk firmware with inotifywait command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# ref. https://github.com/rvoicilas/inotify-tools/wiki#inotifywait | |
# ref. inotifywait --help | |
cd qmk_firmware | |
while inotifywait --recursive --event modify \ | |
keyboards/lets_split/keymaps/j3/ ; do | |
make lets_split/rev2:j3 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment