strictPort

@get:Internal
abstract val strictPort: Property<Boolean>(source)

Set to true to exit if port is already in use, instead of automatically trying the next available port.

Example

vite {
server {
strictPort = false
}
}

External resources