Can we make the web interface go away?
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?
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.
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.