I was just going by what a simple top tells me about resources. "perl" uses more than 12% of the CPU but less than one percent of memory while the server is waiting in restart mode. An strace shows that the server reads the node_modules directory and every file inside it. It reads every directory in the project folder and every file inside those directories, including my .scss files, which it shouldn't be concerned about at all either, though it doesn't read hidden directories. Then it goes into restart mode and sleeps. It does the exact same thing at the end when testing in a project without node_modules, so nothing telling there.
I did find a better workaround than moving my Catalyst files into another subdirectory, though, by moving the node_modules directory somewhere else and symlinking to it. The development server doesn't follow the symlink. While that's not optimal either, it's a less ugly solution.
I'll probably end up filing an issue on Catalyst::Devel. Using things like gulp or grunt is common enough these days. The server doesn't need to be monitoring them. A way to exclude directories and files would be helpful.
In reply to Re^2: Ignoring directories in Catalyst
by LunarCowgirl
in thread Ignoring directories in Catalyst
by LunarCowgirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |