User tests: Successful: Unsuccessful:
Pull Request for Issue #34590.
--watch
to watch a specific foldernpm run watch:com_media
administrator/components/com_media/resources/scripts/components/breadcrumb/breadcrumb.vue
media/com_media/js/media-manager.js
and media/com_media/js/media-manager.min.js
that the mofified time was few seconds before and the content in both files is unmanggled JSnpm run watch -- build/media_source/templates/administrator
build/media_source/templates/administrator/atum/js/template.es6.js
media/templates/administrator/atum/js/template...
filesnpm run watch -- build/media_source/plg_system_webauthn
build/media_source/plg_system_webauthn/scss/button.scss
media_source/plg_system_webauthn/scss/button...
filesYes, updated
There is one case that the watcher is not handling atm: if the source file gets deleted the compiled files are not removed as well.
@laoneo let me know if this is ok
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change |
Labels |
Added:
NPM Resource Changed
?
|
Title |
|
It works, but there is no feedback that a file is compiled. Is this something can be done easily? If not I will mark the test as success.
Would also be nice if it gets printed because of which vue file the it was built. But fine for me now.
Would also be nice if it gets printed because of which vue file the it was built
This one needs a bit more research as the rollup docs don't mention anything helpful for getting the file that triggers the bundling. I guess there's a way to get it from chokidar which is the npm package used for the watch functionality from rollup...
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-06-22 13:37:15 |
Closed_By | ⇒ | wilsonge |
Thanks both!
Let me know when I can test this?