Suggest: remove extra dev port(4507)
ahuigo opened this issue · comments
I think there is no need to listen extra dev port(4507). The reasons are as follows:
- Port 4507 may be occupied by other process.
- It's hard to run multile examples via
deno task dev
. - If we run
deno test example/*/server.test.ts
, it's to heavy to open/close a listen port 4507.
If possible, I would like to submit this PR
At one point I thought that there was an environmental variable that optionally set the development port which would allow the running of different Ultra instances on the same machine.
At one point I thought that there was an environmental variable that optionally set the development port which would allow the running of different Ultra instances on the same machine.
Not a same thing.
There are two ports:
- The app port, default 8000.
- The ultra development port, default 4507(Only when
ULTRA_MODE=development
)
I don't think it's necessary to take up two ports for either development or unit testing(e.g. cd examples/basic && deno test -A
).