Can someone tell me how to load the playground locally?
Which of the npm/nx scripts should I run?
When I run watch-and-serve:dev, I’m able to go to http://localhost:1337 where I can make the blue character run, walk, etc.
Can someone tell me how to load the playground locally?
Which of the npm/nx scripts should I run?
When I run watch-and-serve:dev, I’m able to go to http://localhost:1337 where I can make the blue character run, walk, etc.
I believe it is described here - Start Contributing to Babylon.js | Babylon.js Documentation.
Using VS Code:
Using command line:
npm run watch:dev
(If you want to make changes to the dev packages. Otherwise run npm run build:dev
)npm run serve -w @tools/babylon-server
in a new terminal windownpm run serve -w @tools/playground
in a new terminal windowShortcuts?
npx build-tools --command dev-watch --watch-assets --watch-declarations --serve
(watch and serve in one command)npm run serve -w @tools/playground
in a new terminal windowOpen http://localhost:1338 in your browser.
Thanks labris
It really helped