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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.