SequoiaSan Posted February 16, 2021 Share Posted February 16, 2021 Hi people! I'm not entirely familiar with this kind of device, and I'll be much appreciated if someone can help me out. I started to write a module and encountered the next issue. I need to restart the device every time I install pkg or update my module files to see my changes. I'm talking right now more about Python files. I thought that there might be .pyc file somewhere that I need to delete, but I didn't found any. What I'm doing wrong? Or restarting device is the only way? If so, it's really slowing down the process. Link to comment Share on other sites More sharing options...
SequoiaSan Posted February 19, 2021 Author Share Posted February 19, 2021 Still didn't figure out how to make the process faster. Any suggestions? Link to comment Share on other sites More sharing options...
Foxtrot Posted July 9, 2021 Share Posted July 9, 2021 I apologise for not seeing this sooner, just came across it now. The web interface will automatically start the module's Python back-end automatically, so if you want to debug it, I suggest you SSH into the device and kill it (use ps auxw to find the process) and then run it manually. This will allow you to restart it quickly every time you push an updated file to the device, as well as being able to see the debug output. Link to comment Share on other sites More sharing options...
SequoiaSan Posted July 18, 2021 Author Share Posted July 18, 2021 Thank you Foxtrot! 👍 This is what I was looking for. Now I automatized the process and everything seems to work smoothly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.