I have changed musicbrainz-server/root/static/styles/layout.less
file.
How do I make docker rebuild the resulting localhost:5000/static/build/common.css
?
I tried sudo docker-compose up --build musicbrainz
but it didn’t rebuild it.
It’s strange because when I open it http://localhost:5000/static/build/common.css
I see my changes included there.
But when I load and inspect the http://localhost:5000/recording/merge
page I am testing, it is not updated.
Solution
There is nothing to do.
Just open the Developer Tools (F12) and deactivate the cache, in the Network tab.