Replies: 1 comment 4 replies
-
Here's a first pass at allowing config overrides for the snowpack server instance used by the plugin. #2430 |
Beta Was this translation helpful? Give feedback.
4 replies
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.
-
It looks like there currently isn't a way to pass a custom port to the web-test-runner-plugin. If I have
snowpack dev
running in one terminal and then run the tests in another terminal, it will always pop up with the port conflict message! Port 3000 not available. Run on port 3001 instead? (Y/n)
. It would be nice if I could 1) choose a custom port to use for the test run, 2) tell it to always try the next port without the prompt, or 3) use the existing server (which may not be the best option).I was looking at the plugin code and it looks like there already is a mechanism for overriding snowpackConfig. Would it make sense to merge user provided overrides on top of the overrides in the plugin itself in the call to loadConfiguration? I am happy to submit a PR with that change or try a different approach.
Beta Was this translation helpful? Give feedback.
All reactions