[Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files

Dave Rolsky autarch at urth.org
Wed Aug 29 03:42:00 GMT 2007


On Tue, 28 Aug 2007, Alejandro Imass wrote:

> if you are methodic enough you can just create a script in /usr/bin
> that cleans temps, backs and other rotten files. Or easier yet, you
> can alias to something like clean_emacs to something like:
>
> find . -name "*~" | xargs rm -f
> find . -name "#*#" | xargs rm -f
>
> of course you can make this more efficient but it does the work and it's simple.

The issue at hand is that Catalyst's built-in auto-restarting web server 
detects these files as "new modules" and tries to restart the server. Then 
Catalyst itself detects them as modules it should load automatically and 
blows up when it tries to do something like:

  eval "require Foo::.#Bar"


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/



More information about the Catalyst mailing list