Last active
January 4, 2018 06:32
-
-
Save lakgani/dc1531235c7ddf8b4f068a5b279847b5 to your computer and use it in GitHub Desktop.
Simple command to apply nodemon for a quick prototype java application
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
nodemon -e "java" -x "javac *.java -d "dist" && java -cp ./dist Main" | |
# prerequsites - javac, java and ofcourse nodemon (installed globally using npm) and a directory named dist in the current folder | |
# Main at the end should be changed based on your java main class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment