@carolhmj sorry, I still doesnt complete understend.
I run npm run serve -w @tools/dev-host and now when I change the code in the packages/tools/devHost/src/createScene.ts the serve mode successfully rebuild current version and refresh the page in the browser. But when I make some changes in the packages/dev/inspector/src/components/sceneExplorer/sceneExplorerComponent.tsx the Inpsector not rebuilded automatically. An even after manually page refresh the scripts still in the old version. Probably I miss some command? How to work with the Inspector’s code?
The dev-host is meant as an es6-playground for the packages, importing directly from the packages. It should compile changes if in watch mode. I am actually in the process of improving it this/next week, so i’ll follow up and fix any issue I find. then it’ll be more stable (and better documented).
A simpler way to get everything compiled for you is to use the babylon-server - npm run serve -w @tools/babylon-server , which will make sure to listen to changes on all served packages, including the inspector. You have a few code samples in the babylon-server directory, and you can also load snippets, similar to the way the playground is working. Does that help you move forward?