I am developing a Laravel(5.2.29) project in Windows environment and testing it on Chrome browser.
I have made some changes on a Blade file using atom text editor an
Like Can Gelis mentionned in a comment. For me the solution was to reload PHP FPM
service php7.2-fpm reload
If you use PHPStorm, uncheck Preserve files timestamps
deployment option:
https://stackoverflow.com/a/42534996/2453148
clear cache didn't work for me, but I just edited the file and saved it again, and it works!
In order to avoid the parsing of Blade files on each reload, Laravel caches the views after Blade is processed. I've experienced some situations where the source (view file) is updated but the cache file is not "reloaded". In these cases, all you need to do is to delete the cached views and reload the page.
The cached view files are stored in storage/framework/views
.
You can also check if opcache
enabled, in that case you need to clear your opcache cache.
Clear the cache and clear the cached blade files:
php artisan cache:clear
php artisan config:clear
php artisan view:clear