-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I often work with requirejs-config.js file for modules to define custom mapping and/or javascript mixins. It would be nice if the watch command can detect the changes in modules and themes requirejs-config.js files and remove the main requirejs-config.js file in pub/static theme dir. Magento will regenerate that file on page load and apply new contents.
Currently I used a custom js script to what for changes in app/code/*/*/view/frontend/requirejs-config.js and then remove the files in pub/static/frontend/*/*/*/requirejs-config.js when changes are detected.
Another suggestion is allowing custom configuration file that define watch and remove patterns for automatic cleanup.
Metadata
Metadata
Assignees
Labels
No labels