Open danielemery opened 2 years ago
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:
Run help and note option is not described
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 https://github.com/Surnet/swagger-jsdoc/pull/121 without comment.