Created
March 30, 2019 22:03
-
-
Save richashworth/111d8247c4dd3fcffd5bfda36913c477 to your computer and use it in GitHub Desktop.
Trigger execution of Kotlin scripts on save (useful for approximating worksheets).
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
fswatch -0 . | xargs -0 -n 1 -I {} sh -c "clear; echo '\033[0;32mRunning {}\033[0;37m'; echo; kscript {} ; echo;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment