User tests: Successful: Unsuccessful:
Pull Request resolves #46879 (comment) .
--all (-a) option to the watch command, allowing to watch all available builders at once.npm run watch -- --all or npm run watch -- --amedia_source/com_actionlogs/js/admin-actionlogs-default.es6.jsnpm run watch -- -n com_actionslogs and modify a media_source file e. g. media_source/com_actionlogs/js/admin-actionlogs-default.es6.jsnpm run watch -- -n testnpm run watchResulst 1:
error: unknown option '--all'
Result 2:
Skipped builders (watch not supported): vendor
Watcher updating js for [com_actionlogs]...
Result 3: (should work as before)
Initialize watch [com_actionlogs]
Watcher rebuild everything in [com_actionlogs]...
Watcher updating js for [com_actionlogs]...
Result 4: (should fail)
Builder "test" does not exists.
Nothing to watch. Please specify the builder name to watch.
Result 5: (should fail)
Nothing to watch. Please specify the builder name to watch.
Result 1:
Skipped builders (watch not supported): vendor
Result 1 - 5 should be the same as before.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Repository |
| Labels |
Added:
PR-6.2-dev
|
||
npm run watch -- -n system works fine with and without the PR?
Or do we have to dig even deeper here.
I haven't been able to reproduce the error yet. I tested both directly on the VM and within the Docker container, but I wasn't able to trigger the issue with either the initial command or subsequent file changes.
Could you also check the folder and file permissions? Only to rule out that as possible cause.
Does my command work for you?
Yes
npm run watch -- --all as well as npm run watch -- -a - both work for me in vm and in a docker container with no problems and also the watch is working as it should. I can unfortunately not reproduce what you reportet.
Yes
npm run watch -- --all as well as npm run watch -- -a - both work for me in vm and in a docker container with no problems and also the watch is working as it should. I can unfortunately not reproduce what you reported.
I have tested this item ✅ successfully on bd84626
Not sure what happend yesterday, but today it works as expected.
npm run watch -- -n system worked and npm run watch -- -all worked. Added a console.log statement to media_source/com_banners/js/admin-banner-edit.es6.js after I started the all watch and it printed it when I edited a banner.
I have tested this item ✅ successfully on bd84626
Not sure what happend yesterday, but today it works as expected.
npm run watch -- -n system worked and npm run watch -- -all worked. Added a console.log statement to media_source/com_banners/js/admin-banner-edit.es6.js after I started the all watch and it printed it when I edited a banner.
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-05-24 11:34:20 |
| Closed_By | ⇒ | MacJoom |
Thank you!
Thanks, unfortunately, when I do
npm run watch -- --allthen I get the error: