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

WordPress Trac noreply at wordpress.org
Wed Aug 19 20:52:32 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):

 It looks like the `build`, `build-module`, `build-types`, etc folders
 inside `plugins/gutenberg` also cause this problem. We could exclude those
 explicitly, or maybe do that for all plugins? There may be some where it's
 necessary to watch `build` folder, though?

 This is helpful for finding the folders with the most files:

 {{{
 for i in `find src -type d `; do echo `ls -a $i | wc -l` $i; done | sort
 -n
 }}}

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


More information about the wp-trac mailing list