Development workflow

I'm new to plex development and i'm wondering what's the preferred workflow for developing agents on OSX?

 

I've put my bundle inside ~/Library/Application Support/Plex Media Server/Plugins - which works fine so far, but

i have to manually stop and start the server each time i make a change to the python code.

 

Is there a way to "hot-swap" changes without having to do a full server restart?

 

 

(sorry if this question is odd, but i'm not a python developer)

 

 

answering myself here: i just realized if i start the server from the commandline, code gets automatically reloaded when changes in python files occur :)

answering myself here: i just realized if i start the server from the commandline, code gets automatically reloaded when changes in python files occur :)

Yep, if only making changes to the __init__.py then the framework will detect it.

I always, when developing, have a print statement in the start function, so I know when a reload of my code has happened

/T

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.