Set default port for Crystal Playground

Hi. To use the Crystal Playground I have to specify a port number (in this case 3000) because another piece of software I use (ipfs daemon) already uses port 8080. Is it possible to set the default port number of Crystal Playground to 3000 or will I have to type it out each time?

You will need to set -p PORT or --port PORT manually each time or create an alias in your shell.

The compiler has no global configuration so far.

1 Like

I’ll likely see to changing the ipfs port or set an alias in zsh to set the port option for me. A global configuration in the long run would be nice :slight_smile: