Skip to content

Instantly share code, notes, and snippets.

@lakgani
Last active January 4, 2018 06:32
Show Gist options
  • Save lakgani/dc1531235c7ddf8b4f068a5b279847b5 to your computer and use it in GitHub Desktop.
Save lakgani/dc1531235c7ddf8b4f068a5b279847b5 to your computer and use it in GitHub Desktop.
Simple command to apply nodemon for a quick prototype java application
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