We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c9f0b commit cf42252Copy full SHA for cf42252
src/app/pages/Sandbox/Editor/Content/subviews/Preview/index.js
@@ -112,7 +112,10 @@ export default class Preview extends React.PureComponent {
112
prevProps.directories !== this.props.directories) &&
113
this.state.frameInitialized
114
) {
115
- if (this.props.preferences.livePreviewEnabled) {
+ if (
116
+ this.props.preferences.livePreviewEnabled &&
117
+ prevProps.bundle === this.props.bundle
118
+ ) {
119
this.executeCode();
120
}
121
0 commit comments