<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Plack and Auto-Restart</title>
	<atom:link href="http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/feed/" rel="self" type="application/rss+xml" />
	<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/</link>
	<description>Leveraging Perl and Emacs</description>
	<lastBuildDate>Tue, 07 May 2013 11:25:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7857</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Wed, 24 Mar 2010 08:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7857</guid>
		<description><![CDATA[The Twiggy / Shotgun error *scared* me a bit ;).  I might expect to see it in a C extension, but not from pure perl.

I&#039;ll look into getting set-up on github.  Thanks for the info.]]></description>
		<content:encoded><![CDATA[<p>The Twiggy / Shotgun error *scared* me a bit <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .  I might expect to see it in a C extension, but not from pure perl.</p>
<p>I&#8217;ll look into getting set-up on github.  Thanks for the info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7855</link>
		<dc:creator><![CDATA[Tatsuhiko Miyagawa]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 08:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7855</guid>
		<description><![CDATA[About -R option, your inline example code didn&#039;t pass the argument to -R itself -- anyway, the -r or -R *does* add &#039;lib&#039; relative to the .psgi file, which would cause issues like that on Windows apparently. Again, patches to Filesys::Notify::Simple is pretty much appreciated :)

Reporting on github is as easy as just creating an account and do it so on the web UI. If you don&#039;t like to register you can also use the CPAN RT tracker which is just sending emails to bug-Plack at rt.cpan.org. (But i prefer github issue tracker, at least for now)

The Shotgun on Twiggy error is interesting as well but the error is so cryptic -- usually not a type of errors you see as an end user program :/]]></description>
		<content:encoded><![CDATA[<p>About -R option, your inline example code didn&#8217;t pass the argument to -R itself &#8212; anyway, the -r or -R *does* add &#8216;lib&#8217; relative to the .psgi file, which would cause issues like that on Windows apparently. Again, patches to Filesys::Notify::Simple is pretty much appreciated <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Reporting on github is as easy as just creating an account and do it so on the web UI. If you don&#8217;t like to register you can also use the CPAN RT tracker which is just sending emails to bug-Plack at rt.cpan.org. (But i prefer github issue tracker, at least for now)</p>
<p>The Shotgun on Twiggy error is interesting as well but the error is so cryptic &#8212; usually not a type of errors you see as an end user program :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7854</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 08:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7854</guid>
		<description><![CDATA[Hi Tatsuhiko,

Thanks for stopping by.

&lt;blockquote&gt;
It’d be much appreciated if you submit the bug report and patches to the issue tracker first http://github.com/miyagawa/Plack/issues before blogging it, since this post is now indexed on Google and people in the future might find this and thinks it’s broken even when it’s fixed.
&lt;/blockquote&gt;

Noted for the future.  I&#039;m happy to update this post as and when this stuff gets fixed (although I checked github and... well, I&#039;m not really familiar with github but I couldn&#039;t tell if it has been fixed yet)

&lt;blockquote&gt;
&gt; Er, okay, -R only allows you to add paths. So there is not an obvious way of removing the paths that already exist. *sigh*

No, you were not reading the document correctly:

-R, –Reload
“-R” option allows you to specify the path to watch file updates separated by comma (“,”).

plackup -R /path/to/project/lib,/path/to/project/templates

It takes the path to override, which you didn’t pass.
&lt;/blockquote&gt;

I read what you wrote here a couple of times and it still isn&#039;t clear to me how to pass it the path to override.  Anyway, nevermind, now that I know it is possible, I&#039;ll try a couple of things (or read the code).

&lt;blockquote&gt;
Although Twiggy runs on AnyEvent which means it could run on any platforms supported by AE, stuff like signal handling, reloading and forking gets easily problematic on Win32 in general. I think HTTP::Server::Simple::PSGI and Shotgun is the easiest and safer combination to run on win32.
&lt;/blockquote&gt;

Yeah, for sure Win32 is not my first choice OS, but unfortunately I often have little choice.  And my current investigation of Plack is for something that will need to run on both Windows and Linux.

&lt;blockquote&gt;
Also, the Filesys::Notify::Simple’s error on non-existent directory seems like only happens on win32. At least specifying one on my machine (OS X) doesn’t die like that. Patches are welcome to address that issue.
&lt;/blockquote&gt;

Right, nice hint! :)

# --

Anyway, seriously, thanks for the great work on this stuff.  I guess it doesn&#039;t get much testing on win32, but that&#039;s fine.  I wouldn&#039;t work on it if I didn&#039;t have to either :-/]]></description>
		<content:encoded><![CDATA[<p>Hi Tatsuhiko,</p>
<p>Thanks for stopping by.</p>
<blockquote><p>
It’d be much appreciated if you submit the bug report and patches to the issue tracker first <a href="http://github.com/miyagawa/Plack/issues" rel="nofollow">http://github.com/miyagawa/Plack/issues</a> before blogging it, since this post is now indexed on Google and people in the future might find this and thinks it’s broken even when it’s fixed.
</p></blockquote>
<p>Noted for the future.  I&#8217;m happy to update this post as and when this stuff gets fixed (although I checked github and&#8230; well, I&#8217;m not really familiar with github but I couldn&#8217;t tell if it has been fixed yet)</p>
<blockquote><p>
&gt; Er, okay, -R only allows you to add paths. So there is not an obvious way of removing the paths that already exist. *sigh*</p>
<p>No, you were not reading the document correctly:</p>
<p>-R, –Reload<br />
“-R” option allows you to specify the path to watch file updates separated by comma (“,”).</p>
<p>plackup -R /path/to/project/lib,/path/to/project/templates</p>
<p>It takes the path to override, which you didn’t pass.
</p></blockquote>
<p>I read what you wrote here a couple of times and it still isn&#8217;t clear to me how to pass it the path to override.  Anyway, nevermind, now that I know it is possible, I&#8217;ll try a couple of things (or read the code).</p>
<blockquote><p>
Although Twiggy runs on AnyEvent which means it could run on any platforms supported by AE, stuff like signal handling, reloading and forking gets easily problematic on Win32 in general. I think HTTP::Server::Simple::PSGI and Shotgun is the easiest and safer combination to run on win32.
</p></blockquote>
<p>Yeah, for sure Win32 is not my first choice OS, but unfortunately I often have little choice.  And my current investigation of Plack is for something that will need to run on both Windows and Linux.</p>
<blockquote><p>
Also, the Filesys::Notify::Simple’s error on non-existent directory seems like only happens on win32. At least specifying one on my machine (OS X) doesn’t die like that. Patches are welcome to address that issue.
</p></blockquote>
<p>Right, nice hint! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p># &#8211;</p>
<p>Anyway, seriously, thanks for the great work on this stuff.  I guess it doesn&#8217;t get much testing on win32, but that&#8217;s fine.  I wouldn&#8217;t work on it if I didn&#8217;t have to either :-/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7853</link>
		<dc:creator><![CDATA[Tatsuhiko Miyagawa]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 05:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7853</guid>
		<description><![CDATA[Also, the Filesys::Notify::Simple&#039;s error on non-existent directory seems like only happens on win32. At least specifying one on my machine (OS X) doesn&#039;t die like that. Patches are welcome to address that issue.]]></description>
		<content:encoded><![CDATA[<p>Also, the Filesys::Notify::Simple&#8217;s error on non-existent directory seems like only happens on win32. At least specifying one on my machine (OS X) doesn&#8217;t die like that. Patches are welcome to address that issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7852</link>
		<dc:creator><![CDATA[Tatsuhiko Miyagawa]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 02:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7852</guid>
		<description><![CDATA[Although Twiggy runs on AnyEvent which means it could run on any platforms supported by AE, stuff like signal handling, reloading and forking gets easily problematic on Win32 in general. I think HTTP::Server::Simple::PSGI and Shotgun is the easiest and safer combination to run on win32.]]></description>
		<content:encoded><![CDATA[<p>Although Twiggy runs on AnyEvent which means it could run on any platforms supported by AE, stuff like signal handling, reloading and forking gets easily problematic on Win32 in general. I think HTTP::Server::Simple::PSGI and Shotgun is the easiest and safer combination to run on win32.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7851</link>
		<dc:creator><![CDATA[Tatsuhiko Miyagawa]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 02:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7851</guid>
		<description><![CDATA[&gt; Er, okay, -R only allows you to add paths. So there is not an obvious way of removing the paths that already exist. *sigh*

No, you were not reading the document correctly:

  -R, --Reload
        &quot;-R&quot; option allows you to specify the path to watch file updates separated by comma (&quot;,&quot;).

          plackup -R /path/to/project/lib,/path/to/project/templates

It takes the path to override, which you didn&#039;t pass.]]></description>
		<content:encoded><![CDATA[<p>&gt; Er, okay, -R only allows you to add paths. So there is not an obvious way of removing the paths that already exist. *sigh*</p>
<p>No, you were not reading the document correctly:</p>
<p>  -R, &#8211;Reload<br />
        &#8220;-R&#8221; option allows you to specify the path to watch file updates separated by comma (&#8220;,&#8221;).</p>
<p>          plackup -R /path/to/project/lib,/path/to/project/templates</p>
<p>It takes the path to override, which you didn&#8217;t pass.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://curiousprogrammer.wordpress.com/2010/03/22/plack-auto-restart/#comment-7850</link>
		<dc:creator><![CDATA[Tatsuhiko Miyagawa]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 02:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=762#comment-7850</guid>
		<description><![CDATA[It&#039;d be much appreciated if you submit the bug report and patches to the issue tracker first http://github.com/miyagawa/Plack/issues before blogging it, since this post is now indexed on Google and people in the future might find this and thinks it&#039;s broken even when it&#039;s fixed.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;d be much appreciated if you submit the bug report and patches to the issue tracker first <a href="http://github.com/miyagawa/Plack/issues" rel="nofollow">http://github.com/miyagawa/Plack/issues</a> before blogging it, since this post is now indexed on Google and people in the future might find this and thinks it&#8217;s broken even when it&#8217;s fixed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
