My Symfony 4 app sometimes fails to refresh changes made to the code in the browser, which can be quite frustrating.
For example,
When I modify a class from col-md-5
to col-md-3
, and then refresh the page, it still shows as col-md-5
. This behavior seems unusual.
A similar issue occurs with CSS. Changing width: 50%;
to 10%, refreshing the page, and finding that the width remains at 50%.
To force a change to display, I have to make additional modifications to the code or add text before refreshing the page. Clearing the cache in Symfony also resolves the issue temporarily.
This is a standard Symfony 4 application running in dev mode with disabled Twig caching. Can anyone identify the root cause of this problem?