I'm running a Laravel 5.8 project on PHP 7.2 and I use PhpStorm is my editor on Mac OS 10.15.4.
Since recent, when I write new code, most of the time in a Class, my changes do not take effect in the application itself. PhpStorm and other editors show my new or edited code, but nothing changes in my application. The only thing that solves this issue is a full reboot of my computer. Doing a full reboot and starting everything up again takes a lot of time and time is precious.
What I have tried other than a full reboot:
- Restarting PHP
- Restarting Nginx
- Restarting PhpStorm
- Restarting using
valet restart
- Removing the project and cloning from git repo again
- Clearing my config >
php artisan config:clear
- Caching my config >
php artisan config:cache
None of these had any successful results so far.
What could cause this weird bug and is there a way to fix this? Any help or information regarding this is well-received.