Alternate to build the whole project again

if I want to see the changes in a project , I have to build the whole project again and again which consumes a lot of time

sudo docker-compose build

sudo docker-compose up

Is there anything I can do which take lesser time?

Which project is that? Can you point us to its source on github?

github-https://github.com/openmrs/openmrs-ocl-client in its GitHub - openmrs/openmrs-ocl-client: OCL Client for OpenMRS if I have to see even a small change I made, I have to run

sudo docker-compose build

to see the changes.

There is another way of using openmrs-sdk-watch project though am not exactly sure if maven can be triggered to run on openmrs-ocl-client module