Can you start Sveltekit programmatically from another directory? #11153
Unanswered
alexbjorlig
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to simplify some test setup in my project, and came up with the idea to run Sveltekit like this. However it only works when the script is next to sveltekit. Is it possible to call
createServer
from another directory?**test script in the same directory as svelte.config - that works!)
This does work, but only if running in the same directory as the sveltekit project. If I move this to the parent directory, I get:
Could not auto-determine entry point from rollupOptions or html files
(setup that does not work, in parent directory):
Beta Was this translation helpful? Give feedback.
All reactions