Problem/Motivation
After upgrade in
https://www.drupal.org/project/drupal/issues/3493146#comment-15972700
we got new version 4 of chokidar
but we ignored its changelog:
https://github.com/paulmillr/chokidar?tab=readme-ov-file#upgrading
Steps to reproduce
run core `yarn watch:css`
change any *.pcss.css file
watch not works.
Remaining tasks
Test on Linux and Windows
Issue fork drupal-3504265
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
finnsky commentedUpdated according https://github.com/paulmillr/chokidar?tab=readme-ov-file#upgrading
added usePolling: true because on macos i had lot of errors like:
Comment #4
finnsky commentedComment #8
finnsky commentedComment #9
ksenzeeI can reproduce the error on Ubuntu 22.04 (hm I should probably upgrade), and the MR fixes it. Not sure I'm the best person to review the actual diff, but it looks reasonable to me.
Comment #10
smustgrave commented@ksenzee fixed it for me too. Think it's fine to mark
Comment #14
nod_Committed eeaa76e and pushed to 11.1.x. Thanks!
The cherry pick is not clean on 10.5.x
Comment #15
smustgrave commentedBelieve the 10.5 window is still open
Comment #17
smustgrave commentedBackported
Comment #18
smustgrave commentedWas a clean backport I believe.
Comment #19
godotislateTest failure, might just need rerunning?
Comment #21
quietone commentedUpdated MR to 10.6 and tests are passing.
Comment #22
smustgrave commentedSeems to be good rebase.
Comment #25
xjmI tested manually and confirmed that:
yarn watch:cssworks on 11.x with the above fix that was already committed.yarn watch:cssdoes not work on 10.5.x HEAD.yarn watch:cssdoes work on 10.5.x HEAD with the patch applied:Committed the backport to 10.6.x and cherry-picked it to 10.5.x as a major development process bugfix. Thanks everyone!
Comment #28
xjm