I am writing a project at the moment that needs a yarn package of resusable vue components, want I am wanting to be able to do is, yarn add my-local-package I have this working actually I can add a package to another project in my setup.
My problem comes when I want to create a new component, ideally what I would want to do it, write the component in my libary and then work with straight away in my project that consumes the library. The only way I can do this currently is my updating the local package each time I make a change, in the library I need to do a yarn build and then in the project that consumes I need to do a yarn add my-local-package to get the new version.
Is there a way I can have my project that consumes my library watch for the share library and re-build it automatically?