Ask coding questions

← Back to all posts
Disable Preview
h
pkme (0)

Is there a way to disable the mini preview window? Its really annoying on autorefresh, I generally use another window to see my result. But any time I close the preview it stops my replit.

Thanks

Voters
pkme (0)
Comments
hotnewtop
Bookie0 (5945)

Do you mean this preview window? Can't you just drag it down? Or do you mean something else?

pkme (0)

@Bookie0 Yes, but even if its collapsed, it still refreshes automatically and my editor loses focus.

Bookie0 (5945)

what do you mean refreshes?

You could use this toggle switch to stop it from refreshing maybe.

@pkme

pkme (0)

@Bookie0 Where is this toggle you speak of! This is exactly what I need, but it does not appear for me

Bookie0 (5945)

@pkme ok check in the .md file, right at the top there is a toggle. If you can't find it, go to account, scroll down to roles, and make yourself an explorer, then it should work! :)

pkme (0)

@Bookie0 Oh yeah this is only for md files. I want to remove the preview for node projects

Bookie0 (5945)

@pkme um well you should be able to do that, but yeah that's only for .md files. But what exactly do you mean by 'remove the preview for node projects'?

pkme (0)

@Bookie0 When you run a node project, it pops up a preview window. When you close the window it stops the server. I want to run the server, but not have the preview.

Bookie0 (5945)

@pkme okay could you send me screenshots for how it looks like (when you run it/close window)? And you can always drag the preview tho..

pkme (0)

My workaround is:
Inspect the page
Select the webpreview
Delete it

Seems weird I have to do this, but if I don't my cursor loses focus every couple seconds due to refresh.

InvisibleOne (2675)

Just drag it to the side until it is really small, then you should be able to work with it mostly being out of your way.

pkme (0)

@InvisibleOne This still refreshes, and causes my editor to lose focus.

IcynDevz (725)

What lang are you talking about?