I'm developing a site using Laravel 5.8. on macOS 11.6 with MAMP.
I'm making changes on a blade page then go to browser and refresh to see the results. Somehow latest changes not reflected to the page. For example I add a simple <h1>Hello!</h1>
tag and save the file. Switch to the browser, refresh and content is not there. Sometimes content shows up immediately and sometimes I have to wait for 10 to 30 seconds.
I tried to clear caches (view, config, routes etc.), restart MAMP servers. The problem persists.
CodePudding user response:
Run: php artisan cache:clear and php artisan config:cache
CodePudding user response:
Since you are using Laravel 5.8, you can use this artisan command
php artisan view:clear
or
php artisan cach:clear
if that does not work, you can find the views cache in the storage folder and delete it WHICH NO ONE WOULD PREFER.