2008/11/18 devdiscuss <[EMAIL PROTECTED]>: > > Hi, is it possible to allow auto-restart of a merb application running > under JRuby? If I run a simple test app under ruby, the shutdown > callback is triggered when changing a controller file, however; under > "jruby -S merb" it's not.
It is because on JRuby Merb does not use master/workers scheme. JRuby does not support forking. The callback you are talking about is triggered when worker process is about to shut down. One way to make it consistent is to add a "classes reload" callback. It can be done to both 1.0.x and 1.x branches easily. -- MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
