How do you manually/programmatically start the wundergraph server without .wundergraph
?
#1270
-
I've looked through the examples, but all of them seem to be using |
Beta Was this translation helpful? Give feedback.
Answered by
fiam
Sep 14, 2023
Replies: 1 comment
-
Hello @dulguun0225 - We use a As for starting the server, the entrypoint binary needs to be invoked by your code. For example, you could use execa to launch |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dulguun0225
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @dulguun0225 - We use a
.wundergraph
directory by convention, but it's not required. The only requirement is awundergraph.config.ts
file and anoperations
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'])
.