Skip to content
Sign upLog in
← Back to Community

Can we make the web interface go away?

Profile icon
mefellows

I'm trying to setup an in-browser experience as a tutorial on how to use Pact (pact.io). Pact sets up an HTTP server in the background as part of its testing, and as far as I can tell, repl.it detects this and creates a web view.

The web view is not required at all for this package, and instead we want to direct people to the terminal output. It also seems that repl.it now detects that the port is open and sends a GET / to it - which is also undesired behaviour.

Because the server doesn't start up immediately, when people see the embedded tutorial they get "Hmmmm.... We Couldn't Reach Your Repl" issue - how can I resolve this?

Is it possible to make the web view go away?

Voters
Profile icon
NooshinBehrooz
Profile icon
JustinGrant
Profile icon
pavi2410
Profile icon
mefellows
Comments
hotnewtop
Profile icon
WhoulFoul

Does anybody know how to re-open web view?

Profile icon
JonathanButler

@WhoulFoul
Refreshing the page should do it.

Profile icon
CreepsyBoi

@JonathanButler
thx

Profile icon
anglinajolie

Microsoft AZ-104 pdf dumps is our key element. Buy AZ-104 test dumps and get generally refreshed and authentic substance. You can without much of a stretch download AZ 104 braindumps pdf documents for the Microsoft AZ 104 test on any gadget on various occasions. You will likewise get free updates for 90 days from the date of procurement. Solution2Pass IT specialists constantly work on updates of the Microsoft AZ 104 test as per the most recent patterns and market requests. According to the positive reaction of our clients, we are certain about our refreshed substance.

Microsoft Azure Administrator Associate requests are on a high hub that is the reason it helps understudies and graduates to rapidly get potential open doors. Microsoft Azure Administrator Associate extends the open doors for yourself and gives you need over different competitors in getting a significant salary scale work. Microsoft Azure Administrator Associate delineates you before managers that you are as of now a thoroughly prepared and successful expert. Microsoft Azure Administrator Associate is a lift for any understudy or expert for finding a decent line of work or benefiting the best an open door. What's more, Microsoft AZ 104 PDF Exam Questions give you the best opportunity to get Microsoft Azure Administrator proficient in exceptionally limited ability to focus time.

Profile icon
pavi2410

@amasad
come on... you can do it

Profile icon
lynnlo

I don't think theres a workaround without changing the code and I'm not familiar with pact.io maybe only show the console and hide the web view or try a different non web based IDE, if you're making a tutorial then its a good idea to use your local machine to run it. Not only is it faster in most cases but it sets a similar development environment as most of your viewers.

Profile icon
mefellows

Thanks

@tharlynnhtetong
. Perhaps I'm missing something, but isn't the whole point of repl.it to do things in the browser? Of course I could provide material for people to download and do locally (we do) but being able to quickly demonstrate an idea in documentation is one of the great benefits of this tool.

maybe only show the console and hide the web view

That's what I want, how can I hide the web view? I don't need it for this example, but it opens anyway. I can't find any documentation that suggests it's possible.

Profile icon
lynnlo

@mefellows

webview snip

You can close the webview here.

Profile icon
mefellows

@tharlynnhtetong
thanks, yes I know you can manually close the web view, but that is not very helpful in this situation because it is open by default. It looks I can't do what I'm after, thanks for your help!

Profile icon
MrTesla

@lynnlo
How do I undo this web view? I just accidentally close it, but I need it for my flask web app preview. And later on how to change terminal like bash, python etc?

Profile icon
lynnlo

@MrTesla
Pressing CTRL + SHIFT + S should open up the terminal. As for the webview it'll automatically open once you run the flask server.