Configuration
Config file
The config file is keystone.config.js
| Option | Description | Default |
|---|---|---|
| dynamicLinks | Enables dynamically loaded local links on your Keystone website, no refresh needed | true |
| searchFile | Generates search.json in the root directory |
true |
| indexPath | The root directory of your website | '/' |
| port | The dev server port, localhost:8080 | 8080 |
| portWs | A second port used for the dev server | 8081 |
| devServerIp | The location of the dev server, localhost:8080. Replace with your device's local IP to view dev server on local devices (example: '192.168.1.103'). | 'localhost' |
| watched | The directories watched by the Keystone dev server, that will force a recompilation and page refresh when files are edited | ['templates', 'pages', 'assets', 'components', 'src', 'styles'] |
| build | The content page directory | 'pages' |
| served | The directory containing the generated website | 'public' |