[wp-trac] [WordPress Trac] #59196: Source files are copied onto themselves when running `grunt watch --dev` (`npm run dev`)

WordPress Trac noreply at wordpress.org
Thu Aug 24 20:40:39 UTC 2023


#59196: Source files are copied onto themselves when running `grunt watch --dev`
(`npm run dev`)
------------------------------+--------------------------
 Reporter:  westonruter       |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.3.2
Component:  Build/Test Tools  |     Version:  4.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56461" 56461]:
 {{{
 #!CommitTicketReference repository="" revision="56461"
 Build Tools: Avoid doing `copy:dynamic` when running `grunt watch` when
 using `--dev` option.

 This prevents erroneously copying a file from source onto itself in
 source.

 Props westonruter, jorbin.
 Fixes #59196.
 }}}

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


More information about the wp-trac mailing list