Media watcher does not watch. Basically npm run watch:com_media terminates after it did run the first time. @dgrammatiko ?
| Labels |
Added:
?
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-06-21 16:53:32 |
| Closed_By | ⇒ | alikon |
Hmmm, my bad
Change the file
build/build-modules-js/javascript/build-com_media-js.es6.jsto:and in the
build/build.jschange:line 43 from
const { mediaManager } = require('./build-modules-js/javascript/build-com_media-js.es6');to
const { mediaManager, watchMediaManager } = require('./build-modules-js/javascript/build-com_media-js.es6');and line 143 from
mediaManager(true);to
watchMediaManager(true);PS: the output of the build when watching is still
ES Moduleand it's not minified, so depending on your use case you might want to adjust the output options: