[Catalyst] Keep Plack -r working when commandline closed...?
catalystgroup at unitedgames.co.uk
Fri Oct 23 16:35:20 GMT 2015
I didn't know about screen - so thanks! =)
Sounds like it could be a workaround!
Any other ways?
----- Original Message -----
From: "Trevor Leffler" <tleffler at uw.edu>
To: "The elegant MVC web framework" <catalyst at lists.scsys.co.uk>
Sent: Friday, October 23, 2015 4:28 PM
Subject: Re: [Catalyst] Keep Plack -r working when commandline closed...?
What about wrapping your shell session with screen?
$ man screen
On 10/23/2015 08:21 AM, Andrew wrote:
> I've ended up using Plackup to start the catalyst app's psgi script (still
> via fast cgi),
> and I'm using -r to indicate it should watch for changes, and reload the
> server when changes are detected.
> It does this fine, as long as my commandline terminal is still open.
> The moment I close it, the server continues to run, yet any watching for
> changes, killing, and restarting no longer happens (as far as I can tell).
> Is there any way to get Plack's scripts that watch and reload (i.e.
> Restarter.pm, etc), to continue to run after I close OSX's terminal window
> end the SSH session?
> Many thanks for any insights offered,
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
List: Catalyst at lists.scsys.co.uk
Searchable archive: http://email@example.com/
Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst