in reply to make infinite loop for live directory
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.
|
|---|