add-on development environment

I would like to make an environment based on maven, to make some addons. I have seen the widget archetype. It is multi-moduled and I like it. But I also want to make incremental builds while writing my addon code. Is there a way to do it?
Once again:

  1. maven based project
  2. two modules inside root project: first is the addon and the second is demo
  3. use vaadin:run-codeserver to compile it faster
    I have seen a solutions and hope the better one exist. That was to use build helper to move source files to the demo project and make a incremental build by codeserver that now owns all source files from modules to compile it fast and actual.

Maybe it is possible to make codeserver watch for foreign sources?

There is an archetype for addons, vaadin-archetype-widget.
Unfortunately, the codeserver there does not track code changes yet, but you probably could
do modifications to your pom like here:

https://vaadin.com/forum#!/thread/2876950