You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply remove documentation to not confuse the next person looking for a watch option
Replace the watch details with a simple explanation of how to use nodemon or bash etc to achieve the same result
Re-implement the watch flag and functionality
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)
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: