Make sure to use proper node version specified in .nvmrc file

nvm use

This watches for changes in main plugin and rebuilds if needed

npm i && npm run watch

This runs example application

cd example-preact && npm i && npm run dev