Updated code not working

Hi, all

We installed a test version erpnext on virtural machine. Normally I update python code and upload to server, then run the module on the page, the new code will work. But from last week, the updated python code was not working, I observed the new pyc didn’t generate. The code will work only when I restart virtural machine. I couldn’t remember what I did caused this and bench start is normal.

Any reply will be appreciated.

After updating code, execute sudo supervisorctl reload.

1 Like