Skip to content

How do you manually/programmatically start the wundergraph server without .wundergraph? #1270

Closed Answered by fiam
dulguun0225 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @dulguun0225 - We use a .wundergraph directory by convention, but it's not required. The only requirement is a wundergraph.config.ts file and an operations directory in the current directory or any of its subdirectories.

As for starting the server, the entrypoint binary needs to be invoked by your code. For example, you could use execa to launch execa('wunderctl', ['start']).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dulguun0225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants