How do I develop locally? #3944
Unanswered
designbyadrian
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You can run bootstrap -> build -> serve from the root, open modelviewer.dev as you mentioned and after you modify the code you can run build again (no need the restart the server) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
In
packages/model-viewer
, there's a Node scriptdev
that runs typescript and rollup in watch mode.How do I preview the changes I make to model-viewer as watch mode is running?
In the root, there's
build
andserve
. I can view the model-viewer.dev, but nothing happens if I modify any code. The references to model-viewer are only for the node-modules package, and if I change it to the localdist
folder of model-viewer, I have to stop the server, run build again, and serve again to see any changes.Beta Was this translation helpful? Give feedback.
All reactions