[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
Wed Oct 4 19:48:24 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 fixed-major  |     Focuses:
-----------------------------------+--------------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"56782" 56782]:
 {{{
 #!CommitTicketReference repository="" revision="56782"
 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.
 Merges [56461] to the 6.3 branch.
 Fixes #59196.
 }}}

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


More information about the wp-trac mailing list