hoodoer Posted December 10, 2023 Share Posted December 10, 2023 I'm working on a module with a backend python script, and I've noticed that the pineapple is running an older copy of the python code strangely, even when I completely delete the module and update it with the new code. Looking in /pineapple/modules at the source code I've confirmed that python code is updated, yet I get responses that match older copies of the script. Rebooting the pineapple seems to fix this. This is really making development a challenge, is there some caching scheme going on? I'm baffled that completely removing/deleting the module in the UI and re-uploading the updated code doesn't always update the python logic. The UI itself seems to update fine though. What's going on here, and how to I refresh the entire module without having to reboot? Thanks! Quote Link to comment Share on other sites More sharing options...
hoodoer Posted December 11, 2023 Author Share Posted December 11, 2023 Yup, code changes to my module.py requires a reboot to get the changes to take. Seems like I must be missing something really easy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.