Skip to content

Commit

Permalink
Fixed issue with reloading bundle from remote debugger
Browse files Browse the repository at this point in the history
Summary: This is a follow up to D8316215. That diff had a flaw in that once appExecuted was set to true it would never be reset back to false. This fixes that so if another bundle is loaded after the first one it will work.

Reviewed By: rafeca

Differential Revision: D8661523

fbshipit-source-id: 5f6024102248383f64952fd33b37368732d5f900
  • Loading branch information
Martin Sherburn authored and facebook-github-bot committed Jul 11, 2018
1 parent 1535ecf commit 578b0b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions local-cli/server/util/debugger-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
shutdownJSRuntime();
Page.setState({status: {type: 'disconnected'}});
} else if (object.method === 'executeApplicationScript') {
appExecuted = false;
worker.postMessage({
...object,
url: await getBlobUrl(object.url),
Expand Down

0 comments on commit 578b0b2

Please sign in to comment.