I have been working in an application for month now. But after running this command
php artisan optimize
I am stuck with the world of laravel cache, I can't do or test anything locally unless I always have to clear the cache then run optimize again and again.
sometimes it does work and other times it looks for old code which doesn't even exists. it has stopped my ability to work on and test my code.
I haven't tested my application on production server.