pxt-arcade
pxt-arcade copied to clipboard
Local Development: Share Page does not use local code
Describe the bug When running Arcade locally, going to the share page will not run the local code associated with that share page. For that to happen, one needs to swap line 142 with 143: https://github.com/microsoft/pxt-arcade/blob/ae82fc52dc9222026c6e5d4f069d2abd7880c479/docfiles/script.html#L142-L143.
To Reproduce
- Serve pxt-arcade locally after linking the
pxt
repo locally. - Visit a share-page such as: http://localhost:3232/68336-13291-41085-56601
- If you open up the debugger and inspect the code, you will not find your local changes running.
Expected behavior
When serving pxt-arcade
locally and after having linked a local and modified pxt
, one expects those changes to be reflected in the share page. You can get it to work, but it is a an extra step and a non-obvious one at that.
Desktop (please complete the following information):
- OS: Windows
- Browser Edge
- Version 119.0.2151.97