Created
September 27, 2021 04:33
-
-
Save v1bh0r/8ab82305003b34880b1ae68d900123a8 to your computer and use it in GitHub Desktop.
Monitor changes to the code and auto-build
This file contains hidden or 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/bash | |
dos2unix mvnw | |
./mvnw spring-boot:run -Dspring-boot.run.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005" & | |
while true; do | |
inotifywait -e modify,create,delete,move -r ./src/ && ./mvnw compile | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment