When developing a WunderGraph Application, you will most likely use the
wunderctl up command.
It starts the code generation process, starts the WunderGraph server and watches for changes.
If you change your configuration, add or remove Operations,
wunderctl up will automatically re-generate all required files and restart the server.
wunderctl up can only be used inside a WunderGraph project directory.
The easiest way to initialize a new WunderGraph project is to use the wundergraph init command.
wunderctl up takes two entrypoints, one for the configuration, one for the hooks.
You can adjust both using flags.
If you want more verbose output, use the
It gives you a lot more useful information,
like the current state of code-generation,
generated endpoints, etc...
Allows you to set the configuration entrypoint. Defaults to: wundergraph.config.ts
Allows you to set the hooks entrypoint. Defaults to: wundergraph.hooks.ts
Configure the host:port combination, where the server will listen for connections. Defaults to: localhost:9991
Configure the directory to watch for changes.