Probably what you want is to do something like you’ve already got once while also setting up a watcher to handle only new/changed things. I have used Linux::Inotify2 and there are some other packages like File::ChangeNotify; I don’t have direct experience with that one but use it often in Catalyst testing with its tools.
In reply to Re: make infinite loop for live directory
by Your Mother
in thread make infinite loop for live directory
by GHMON
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |