Replacing a We Build folder needs to restart the webserver?

A question:
When I make any changes to my Web Edition project an then when i replace the running project I could not not find the way to stop, substitute and then run the new project without restart all the server, Is there an alternative to restarting server?
(in another words if i don’t restart the Mac Server 3.2.1 I see the old version of the Deployment CGI project)
Thanks

You need to either build a mechanism into your app that will quit it (App.Quit), or just kill it directly with Activity Monitor (or pkill from a terminal prompt).

[quote=134588:@Roberto Calvi]A question:
When I make any changes to my Web Edition project an then when i replace the running project I could not not find the way to stop, substitute and then run the new project without restart all the server, Is there an alternative to restarting server?
(in another words if i don’t restart the Mac Server 3.2.1 I see the old version of the Deployment CGI project)
Thanks[/quote]

See the excellent suggestion from Phillip Zedalis of 1701Software.com at :
http://1701software.com/blog/upgrading_xojo_cgi_apps.php

Thank you very much! to both! your answers resolved my problem! :slight_smile:

Keep in mind that if you need to restart Apache, you may want to do it gracefully. That is:

service httpd graceful

This will immediately kill off any instances that are not in use, but will let those that are in use finish whatever transactions are in progress. That way, if you’re serving more than one app, you don’t kick users off of all of them.