Reloading a specific Frappe app after code changes on a production setup

I have encountered a situation where I need to reload a specific app after making changes to its code on a production setup. Currently, I am aware of the “supervisorctl restart all” command, which reloads all apps and sites on the current branch. However, this approach is not efficient and can cause unnecessary downtime for other apps.

I would like to know if there is an alternative method or command that allows for selectively reloading a single app after code changes, without restarting all apps and sites. This would help minimize downtime and improve efficiency during the deployment process.

I wanted to update you on the situation regarding reloading a modified app in Frappe. After further research and experimentation, I found a faster effective way to reload the modified app

The command that proved to be effective is:

sudo supervisorctl restart frappe-bench-web:frappe-bench-frappe-web

1 Like