[wp-trac] [WordPress Trac] #49274: Grunt copy:files should ignore node_modules

WordPress Trac noreply at wordpress.org
Fri Sep 4 21:50:02 UTC 2020


#49274: Grunt copy:files should ignore node_modules
------------------------------+------------------------------
 Reporter:  iandunn           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by iandunn):

 Part of the problem is that too many files are being watched, but another
 part might be that sometimes there are two watcher tasks running
 simultaneously.

 If `grunt watch` and `grunt watch:phpunit` are both running
 simultaneously, then that'd probably make the problem much worse.

 The Handbook [https://make.wordpress.org/core/handbook/testing/automated-
 testing/phpunit/#running-continuously says] that `npm run grunt watch --
 --phpunit --group={testgroup}` will run the normal `watch` tasks ''and''
 `watch:phpunit` simultaneously, but that isn't working for me. Apparently
 [https://make.wordpress.org/core/wp-admin/revision.php?revision=35230 I
 added that note], but don't remember the details. It's also possible some
 things have changed in the meantime, and the docs are out of date.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49274#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list