I installed the Shopware production template 18.104.22.168. I created a new plugin with a custom admin module and I try to follow the changes of it with bin/watch-administration.sh.
If I make changes under vendor/shopware/administration/Resources/app/administration/src, then I see that the new files are being immediately compiled.
But If I make changes somewhere in custom/plugins/pluginName/src/Resources/app/administration/src, I see nothing happened in the terminal.
I tried to build the administration first with bin/build-administration.sh and this works well. I also generated the var/plugins.json with bin/console bundle:dump.
I checked the webpack configurations and the npm, node and webpack versions in vendor/shopware/administration/Resources/app/administration/ and this is the result I got:
- node: 16.10.0
- npm: 8.13.1
- webpack: 4.46.0
- webpack-cli: 4.10.0
- webpack-dev-server: 3.11.3
Any ideas how I can fix that?