I don’t know exactly what I’ve done, but since using ERPNext on port 80, not 8000, it seems, that my changes do not take effekt instantly and I have to do bench restart after each change of code.
The developer_mode is still active.
Example:
I return “hello” in an api whitelisted method. I call the api url and see “hello”.
I delete return “hello” from the api whitelisted method. I call the api url and still see “hello”.
I load my browser without cache by pressing SHIFT and F5 together. I see empty result, which is correct.
I refresh my browser again normally by pressing F5. I see “hello” again.
@ci2016, it’s ocurrs because do you are using supervisor to run the process, so, you can modify the Python code, that it dont will change nothing until do you restart the service.
In these cases try to use bench start while developing, or, use sudo supervisorctl restart frappe:frappe-web to restart manually the service and refresh the cached source code.