Im after the tutorial on the App Engine website for “Google Cloud Endpoints” in Java . Everything is working fine and I can start the development server using mvn appengine:devserver. The problem is that when I make any changes to the file (for example, any java file), the dev server does not automatically recompile. I need ctrl-c to kill the dev server and restart it for every code change I make.
mvn appengine:devserver
Is there a way for maven to automatically detect changes in any files in my project and whether they automatically overwrite and restart the dev server?
Unfortunately no. If you want this behavior on your dev server, you need to use Python.
I am starting up on the same issue, and there is no workaround provided by App Engine to help you with this.
Under "Using the Google Plugin for Eclipse":
Eclipse , , , JSP, appengine-web.xml. , Eclipse , -. , . JSP, appengine-web.xml , . web.xml , , .
(https://developers.google.com/appengine/docs/java/tools/eclipse#Running_the_Project)
Java ( " Java" ) (https://developers.google.com/appengine/docs/java/tools/devserver)
App Engine SDK , , . script App Engine. JavaScript, Node.js, .
// Install watch-exec $ npm install -g watch-exec // Watch the current directory $ watch-exec --command "mvn appengine:devserver" --watch .
App Engine, . - , script .
P.S. script 40 , , , . , , , .
Gradle, GAE Spring MVC, , . .