Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TheSolarwin's avatar

Is there something I can do to so I don't have to write "php artisan view:clear" everytime I have edited blade file?

Hi! I was wondering, is there something I can do to so I don't have to write "php artisan view:clear" everytime I have edited blade file?

Sometimes I want to edit blade files on production server and it is kinda annoying to run "php artisan view:clear" everytime i have made any changes to blade files.

Thanks!

0 likes
2 replies
bugsysha's avatar

Yes, don't edit things in production 🤪

1 like
Snapey's avatar

Definately note @bugsysha advice.

Check your clock. If you are not caching the views then the changes should be available immediately, but it only knows it has changed through the timestamp on the file.

Please or to participate in this conversation.