You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed while trying to run a second instance of mdl serve with a different port number, that it still failed due to trying to bind to port 35728:
listen tcp :35729: bind: address already in use
It seems like the code is currently always passing the default port from the github.com/jaschaephraim/lrserver package when starting it, so it is definitely possible to pass a different value as a parameter.
It would probably be a little more work to get a live reload handler into the main mdl serve server since the github.com/jaschaephraim/lrserver package doesn't currently provide an exported handler method that could be used, but that would mean that you only need to pass one parameter in order to use multiple instances of mdl serve concurrently.
The text was updated successfully, but these errors were encountered:
I noticed while trying to run a second instance of
mdl serve
with a different port number, that it still failed due to trying to bind to port35728
:It seems like the code is currently always passing the default port from the
github.com/jaschaephraim/lrserver
package when starting it, so it is definitely possible to pass a different value as a parameter.It would probably be a little more work to get a live reload handler into the main
mdl serve
server since thegithub.com/jaschaephraim/lrserver
package doesn't currently provide an exported handler method that could be used, but that would mean that you only need to pass one parameter in order to use multiple instances ofmdl serve
concurrently.The text was updated successfully, but these errors were encountered: