chipotlegroove wrote a reply+100 XP
1w ago
chipotlegroove started a new conversation+100 XP
1w ago
Hey all I've been having this very annoying issue:
After some time working my views and logic just stop changing. I try logging and using dd a page with some error but nothing happens. After I restart the server dd/logging/any other change works but if I do additional changes I need to restart the server again.
Oddly enough in the error page the code preview does show the updated file but the one actually being executed is the old one. Pic related: https://media.discordapp.net/attachments/945425636766396439/1493688112608706661/image.png?ex=69dfe0f5&is=69de8f75&hm=a7a60340c310d1e93559cbd80f0cbf3848e83f246147d42fd71c87c3d40ab15c&=&format=webp&quality=lossless
I tried running optimize:clear but that did nothing.
For views I managed to somewhat fix the issue by manually deleting the cache files in storage/framework/cache but I don't know where such files for php files exist.
I read on an old post that using opcache:clear would fix this but it seems like I don't have this command in my current version.
I am using Laravel 13.4.0, PHP 8.5.5 on CachyOS if that matters.
Anyone got any idea on why this is happening?