-
Notifications
You must be signed in to change notification settings - Fork 224
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
Missing cli watch option described in documentation #331
Labels
pinned
Issues that will not be automatically closed
Comments
Suggestions
If the answer is (1) or (2) I am happy to raise a PR, we will probably end up implementing a watch outside of the cli for our use in the short term anyway. If the answer is (3) I probably don't have the time or the context to help out (I would suggest if it can be achieved with (2) it might be the easier to maintain solution anyway) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The documentation describes a watch option when using the cli but it doesn't exist.
To Reproduce
Steps to reproduce the behavior:
swagger-jsdoc -d ./src/rest/internal/swagger-definition.js './src/rest/internal/**/*.ts' -o ./src/rest/internal/swagger.json -w
Expected behavior
A watch process starts and monitors files specified in glob for changes, regenerating the swagger specification as required.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
I had a look through the history and found that it used to exist but was removed in #121 without comment.
The text was updated successfully, but these errors were encountered: