microsoft / microsoft/pxt-mkc

Simulator frequently does not load binary when refreshing

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
19
Forks
12
Avg merge
3h 47m
Merged PRs (30d)
5

Description

I've noticed that if the game live-reloads, or if I click the reset button on the simulator, frequently it fails to load the new binary.
The page refreshes, but is left with a blank simulator, with no way to fix it by refreshing the tab in the browser.

Sometimes waiting 5+ seconds in between saving the file will make it refresh properly, but any quick edits or reset button presses will produce this issue.

https://github.com/user-attachments/assets/74d91d10-ee69-4ab5-91f3-b19a58326a77

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by saving quick edits and using the simulator reset button, then trace the simulator's live-reload and binary-loading entry points. Done means the updated binary reliably loads after rapid edits, live reloads, and reset presses without leaving a blank simulator.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.