-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Live update stubs #52
Labels
enhancement
Indicates new feature requests
Comments
Another use-case: it would be nice to start the pact-stub-server in a GitHub Action using |
mefellows
changed the title
Server does not obey changes to pact files
Feature request: Live update stubs
Nov 23, 2022
+1, would be very helpful :) |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
If I run the server as follows:
and then change one of the files in
test/pacts/
(either manually or by running my unit tests), the change is not reflected in subsequent requests to the server without restarting it.Why this matters
Following the Writing Consumer Tests guide, our process is:
test/pacts/…
filesI'd like to keep Cypress, the pact-stub-server, and the unit-test suite all running in the background so I can develop continuously. As it is, I need to restart the Docker containers after every change.
Possible Solutions
PactSource::Dir
could watch the directory rather than walk it during load.The text was updated successfully, but these errors were encountered: