How to use KPI development workflow the right way?

Sorry this isn’t documented better. If you change Python code, that’s handled by manage.py runserver_plus, which kobo-install’s developer mode turns on for you (in place of uWSGI).

For front-end code, try ./run.py -cf run --publish 3000:3000 kpi npm run watch. This will be fast if Linux is your host but slower if it’s macOS, due to the way Docker’s disk volumes work. It’s possible to start npm run watch on your host OS instead of within a Docker container as well; ping me or @magicznyleszek if you need help with this.

2 Likes