When you're looking at running WunderGraph in production, you'll want to start the WunderGraph server but leave out code-generation and watching the directory for changes.
In this case, you can use the
wunderctl start command.
It's a requirement to run
wunderctl start inside a valid WunderGraph project directory.
You can use the commands
wunderctl init and
wunderctl generate to init a new project and generate the configuration files.
The host:post combination to listen on. Defaults to: localhost:9991
Path to the WunderGraph directory. Defaults to: .
Overrides the hooks entrypoint.
The default entrypoint is a dynamic path, made up of:
If the hooks file is in a different place for some reason, you can override the default entrypoint.