Safe HaskellNone

IHP.IDE.PortConfig

Synopsis

Documentation

data PortConfig Source #

Port configuration used for starting the different app services

Constructors

PortConfig 

Fields

defaultAppPort :: PortNumber Source #

findAvailablePortConfig :: IO PortConfig Source #

Returns a port config where all ports are available

When e.g. port 8000, 8001 and 80002 are not used:

>>> portConfig <- findAvailablePortConfig
PortConfig { appPort = 8000, toolServerPort = 8001, liveReloadNotificationPort = 8002 }