GAE - Eclipse development server not updating?

I am using the Google AppEngine development server on Eclipse. My local webpage just didn't refresh until I ran a few restarts on the development server (using the Start or Debug buttons from Eclipse).

What am I doing wrong?

Main stream:

  • Make changes to the .java file ...
  • Save file
  • Run the application (the development server download log is displayed on the console)
  • Refresh webpage in browser

PS: The only way to make it work is to change the server port ... and if I do, all previous servers will still be displayed in the corresponding ports. They never stop.

+4
source share
1 answer

You need to restart the server to see most of the code changes that you will make. The easiest way to do this is with the yellow reset button that appears on the GAE panel, not on the console, but one that has fancy "click here to run" addresses.

If you use debug / run commands in eclipse, you will need to explicitly stop the previous run. You can do this from the debug menu (stop button) or from the GAE panel or from the console panel.

You will not need to change the ports after this - the reason you should do this is because the first instance is still working, clogging the port. As soon as you stop it, you can start it again in the same port ... With a change of code! :)

+4
source

Source: https://habr.com/ru/post/1394874/


All Articles