The Mocks Server main distribution includes the
inquirerCli plugin preinstalled. It provides an interactive CLI that allows to change the server settings while it is running, displays server logs, etc.
If you are using this plugin (enabled by default), you don't need to provide all your desired options using the configuration when starting the server. The CLI allows to change settings while the server is running.
npm run mocks
plugins.inquirerCli.enabled(Boolean): Start the interactive CLI or not. Default is
plugins.inquirerCli.emojis(Boolean): Defines whether the inquirer CLI uses emojis or not. Default is
Alerts are displayed as:
As Mocks Server includes hot reloading, the alert will automatically disappear when the error is fixed.