Skip to content
Advertisement

How to update laravel project after changing javascript file and controller

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 command to update/refresh the project ?

Advertisement

Answer

Try this:

php artisan view:clear

This will clear all compiled view files

Or other command that you can see by using:

php artisan list

Disable browser cache: Disabling Chrome cache for website development

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement