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 d92624f commit 76f38dcCopy full SHA for 76f38dc
packages/app/src/app/pages/Sandbox/Editor/Content/Preview/index.tsx
@@ -123,10 +123,8 @@ class Preview extends Component<Props, State> {
123
124
handleModuleSyncedChange = (preview, change) => {
125
const settings = this.props.store.preferences.settings;
126
- const isServer = getTemplate(
127
- this.props.store.editor.currentSandbox.template
128
- ).isServer;
129
- if ((isServer || !settings.livePreviewEnabled) && change) {
+
+ if (settings.livePreviewEnabled && change) {
130
if (this.props.store.editor.currentSandbox.template === 'static') {
131
preview.handleRefresh();
132
} else {
0 commit comments