-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I am working on two PreTeXt projects (A and B) concurrently and viewing project A on port 8128. When I ask to view project B with "pretext view", it opens up project A on port 8128. When I ask to view project B on a different port with "pretext view -p 8201", it doesn't acknowledge the request and again opens A on 8128. However, I see B if I manually edit the URL to point to the requested port.
Trying "pretext view -r" again opens A except with the report:
warning: Failed to stop server.
warning: Port 8128 could not be used.
warning: Trying port 8129 instead.
Server will soon be available at http://localhost:8128
Opening browser for target web at http://localhost:8128/output/web
I am able to stop the server with "pretext view -s", which enables me to see B with "pretext view" on port 8128. But now I've lost project A.
If port 8128 is not in use, then the -p switch opens the project on the requested port.
I am working on ubuntu 22.04 in a python3.10 virtual environment with a fresh pretext installation.