The serve
command has always had the ability to bind to a custom port and hostname with the -p|--port
and -b|--bind
arguments, and with this minor release, these two arguments have now been exposed on the run
command.
To run your project on port 8765:
gt run -p 8765
Have fun!