How to update laravel project after changing javascript file and controller

13,792

Solution 1

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

Solution 2

On Chrome try to reload with Ctrl + Shift + R

This will not reload with cached files and updates will be shown.

Share:
13,792
Golden_flash
Author by

Golden_flash

Updated on June 13, 2022

Comments

  • Golden_flash
    Golden_flash almost 2 years

    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 ?