Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Watch your code for keymaps and compile qmk firmware with inotifywait command.
#!/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
You can’t perform that action at this time.