Open port authority timeout to be configurable #1007
Description
Is your feature request related to a problem? Please describe.
When using the dev mode in slow environment (ie inside docker with watch via Volumes) it's quite frequent to have a cumulative compile time to be longer than the 5000
hardcoded timeout.
Then everything is build, but timeout kicks in, an thus we never goes in the piece of code in charge of live reload via EventSource. (It always goes to the catch
)
Lines 249 to 272 in b1c4585
Describe the solution you'd like
I'd like to increase the timeout via a parameter in configuration because I am aware my env is not super fast, and I'd like to give it some more time.
Additional context
I found it weird also that when the port checking is failing, it goes to catch
, hence displaying the _ Server is not listening on port ... _ message even though everything has been started, and everything is working.
So maybe this issue should be one on port authority. Description of the underlying behaviour looks like PA is not working properly in the end...