Skip to content

Commit 578b0b2

Browse files
Martin Sherburnfacebook-github-bot
Martin Sherburn
authored andcommitted
Fixed issue with reloading bundle from remote debugger
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
1 parent 1535ecf commit 578b0b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

local-cli/server/util/debugger-ui/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
shutdownJSRuntime();
180180
Page.setState({status: {type: 'disconnected'}});
181181
} else if (object.method === 'executeApplicationScript') {
182+
appExecuted = false;
182183
worker.postMessage({
183184
...object,
184185
url: await getBlobUrl(object.url),

0 commit comments

Comments
 (0)