Dear KoBo community,
I am trying to develop small custom functionality in KPI. I did some changes and run the following command
./run.py -cf run --publish 3000:3000 kpi npm run watch. I understand that this command pushes my changes to a new docker container at
http://0.0.0.0:3000/ and further waits if any other changes are being made in the local filesystem so that it can push again.
Now to see the changes in the frontend, I have to build the KPI with the command
./run.py -kf and restart the KPI that takes some time to get completely up and running. I would like to know how can I see the changes in the frontend directly without having to restart the KPI? It’s a lot of time to observe a single change.
Then I made some changes in the Coffeescript files and I am not able to see the changes in the frontend even after multiple restarts. How can I see the changes done in the Coffeescript files in the frontend?
Also, I would like to know how can I start a KPI server locally with an IDE(since it’s a Django project) that will interact with the rest of KoBo architecture. In this way, I can also debug the code changes and can test the code changes more freely without worrying about the deployment process.