Jump to content

Need to restart device to see updates in my module


SequoiaSan

Recommended Posts

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

  • 4 months later...

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

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...