Saad Farooq
Saad Farooq

Reputation: 13402

GAE - Development server in Eclipse doesn't update?

I'm using the Google AppEngine development server on Eclipse. My local webpage just doesn't seem to update until I do a number of restarts on the Development Server (using the Run or Debug buttons from Eclipse).

What am I doing wrong ?

The basic flow is:

P.S: The only way I can get it to work is to change the server port... and if I do that all the previous servers still show at their respective ports. They never stop.

Upvotes: 4

Views: 1239

Answers (1)

Riley Lark
Riley Lark

Reputation: 20890

You do need to restart the server to see most code changes you'll make. The easiest way to do this is with the yellow reload button that appears on the GAE pane - not the console, but the one that has the fancy "click here to launch" addresses.

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

You won't need to change the ports after this - the reason you have to do it now is that the first instance is still running, hogging the port. Once you stop it you'll be able to run it again on the same port... WITH your code changes! :)

Upvotes: 4

Related Questions