<?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/"
		>
<channel>
	<title>Comments on: Autoreload/Restart modwsgi on source change</title>
	<atom:link href="http://www.djangofoo.com/320/autoreloadrestart-modwsgi-on-source-change/feed" rel="self" type="application/rss+xml" />
	<link>http://www.djangofoo.com/320/autoreloadrestart-modwsgi-on-source-change</link>
	<description>Django Tips and Tweaks</description>
	<lastBuildDate>Fri, 25 Mar 2011 12:22:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: sabueso</title>
		<link>http://www.djangofoo.com/320/autoreloadrestart-modwsgi-on-source-change/comment-page-1#comment-1081</link>
		<dc:creator>sabueso</dc:creator>
		<pubDate>Wed, 26 Jan 2011 20:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.djangofoo.com/?p=320#comment-1081</guid>
		<description>I wrote some easier code , but work great.
http://blog.sabueso.org/40</description>
		<content:encoded><![CDATA[<p>I wrote some easier code , but work great.<br />
<a href="http://blog.sabueso.org/40" rel="nofollow">http://blog.sabueso.org/40</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Dumpleton</title>
		<link>http://www.djangofoo.com/320/autoreloadrestart-modwsgi-on-source-change/comment-page-1#comment-177</link>
		<dc:creator>Graham Dumpleton</dc:creator>
		<pubDate>Sun, 20 Jun 2010 12:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.djangofoo.com/?p=320#comment-177</guid>
		<description>The code already tracks the .py files, you don&#039;t need to call track() for them explicitly. It knows which .py files to monitor as it scans through sys.modules looking for what modules have actually been imported by the application and what the corresponding .py files for them may be that need to be checked. Check closely what the loop in the code over sys.modules.values() does.</description>
		<content:encoded><![CDATA[<p>The code already tracks the .py files, you don&#8217;t need to call track() for them explicitly. It knows which .py files to monitor as it scans through sys.modules looking for what modules have actually been imported by the application and what the corresponding .py files for them may be that need to be checked. Check closely what the loop in the code over sys.modules.values() does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davo</title>
		<link>http://www.djangofoo.com/320/autoreloadrestart-modwsgi-on-source-change/comment-page-1#comment-176</link>
		<dc:creator>Davo</dc:creator>
		<pubDate>Sun, 20 Jun 2010 12:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.djangofoo.com/?p=320#comment-176</guid>
		<description>Hello Graham, 

I updated the post so it links to modwsgi.

I don&#039;t get what you mean by using it wrong and tracking on NON PYTHON code?

I am using Django here and monitoring only the .py files isnt this the correct way of handling it ?

OUT OF TOPIC:
I still have the issue killing the processed spawned by modwsgi process, remember the ones which become parent when its restarted? :)</description>
		<content:encoded><![CDATA[<p>Hello Graham, </p>
<p>I updated the post so it links to modwsgi.</p>
<p>I don&#8217;t get what you mean by using it wrong and tracking on NON PYTHON code?</p>
<p>I am using Django here and monitoring only the .py files isnt this the correct way of handling it ?</p>
<p>OUT OF TOPIC:<br />
I still have the issue killing the processed spawned by modwsgi process, remember the ones which become parent when its restarted? <img src='http://www.djangofoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Dumpleton</title>
		<link>http://www.djangofoo.com/320/autoreloadrestart-modwsgi-on-source-change/comment-page-1#comment-175</link>
		<dc:creator>Graham Dumpleton</dc:creator>
		<pubDate>Sun, 20 Jun 2010 12:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.djangofoo.com/?p=320#comment-175</guid>
		<description>If you are going to take code out of some one else&#039;s documentation then at least link back to the original with an attribution. I cant see that you have done that. The original code is at &#039;http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode#Monitoring_For_Code_Changes&#039;.

Also be aware that you are using it wrongly anyway. You don&#039;t need to call track() for all files as the code will automatically track changes related to any loaded Python code files. You only need to call track on non Python code files which a Python framework might not itself auto detect changes in. In other words, most web frameworks detect changes automatically in page templates and will reload them internally. Thus pointless having this monitor code checking those.</description>
		<content:encoded><![CDATA[<p>If you are going to take code out of some one else&#8217;s documentation then at least link back to the original with an attribution. I cant see that you have done that. The original code is at &#8216;http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode#Monitoring_For_Code_Changes&#8217;.</p>
<p>Also be aware that you are using it wrongly anyway. You don&#8217;t need to call track() for all files as the code will automatically track changes related to any loaded Python code files. You only need to call track on non Python code files which a Python framework might not itself auto detect changes in. In other words, most web frameworks detect changes automatically in page templates and will reload them internally. Thus pointless having this monitor code checking those.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

