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

WordPress Trac noreply at wordpress.org
Tue Sep 15 19:45:03 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):

 Even without running `grunt watch:phpunit`, `npm run watch` still takes
 `10s` per cycle on my system, when using [attachment:"49274.2.diff"].

 For [attachment:"49274.3.diff"], one potential solution to the syncing
 problem might be to symlink `build/wp-content` to `src/wp-content`, or at
 least the `mu-plugins/` and `plugins/` folders, since Core doesn't have
 anything in those. I'll test that for awhile and see if I notice any
 problems.

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


More information about the wp-trac mailing list