# Reference: server.reload

URL: https://scalws.com/docs/reference/server-reload/
Source: `docs/reference/schema` in the ScalWS repository

<h3 id="server.reload.interval"><code>server.reload.interval</code></h3>

| | |
|---|---|
| Syntax | `interval: <duration> (e.g. 30s)` |
| Default | `2s` |
| Context | `server.reload` |
| Reload | applies on reload |

Time between two checks (at least 1s).


<h3 id="server.reload.watch"><code>server.reload.watch</code></h3>

| | |
|---|---|
| Syntax | `watch: true \| false` |
| Default | `false` |
| Context | `server.reload` |
| Reload | applies on reload |

Poll the configuration file, the site files it includes and the listener certificate and key files; reload when one changes (path, inode, size or time).
