What is the (your) best environment to create, debug and run cordova plugins?

I want to make a cordova plugin to use with my Ionic based app. I have done the initial setup and it is working with a simple log. The thing is the manually way I set it up is really bad:

  1. Change Cordova code.
  2. Uninstall plugin, install plugin in ionic project.
  3. Build Project
  4. Repeat everything for each Java code change.

I am a complete noob in Java/Android development but I suppose there is some way to run this project as “a live reload” environment (For those unfamiliar with Ionic that is we change the code and the app updates itself to reflect the changes).

Is there a recommend way to do this?