I added a .blade.php file and modified a controller and javascript file in my laravel project. I'm unable to see the changed on the server(localhost). Is there a mand to update/refresh the project ?
I added a .blade.php file and modified a controller and javascript file in my laravel project. I'm unable to see the changed on the server(localhost). Is there a mand to update/refresh the project ?
Share Improve this question asked Jun 17, 2016 at 4:24 Golden_flashGolden_flash 4921 gold badge6 silver badges14 bronze badges4 Answers
Reset to default 8Try this:
php artisan view:clear
This will clear all piled view files
Or other mand that you can see by using:
php artisan list
Disable browser cache: Disabling Chrome cache for website development
On Chrome try to reload with Ctrl + Shift + R
This will not reload with cached files and updates will be shown.
Try this. php artisan cache:clear
Laravel
To reflect your .js file changes : You can clear the cache in history in the browser.
To reflect your php view file changes : you can delete all autogenerated php files under views folder. path to views folder : Storage -> Frameworks -> Views -> auto generated php files.
When added 'new file' is not detected, you can run 'php poser.phar update' (without quotes) mand inside the project directory.