Skip to content
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: Add option for additional files/folders to be watched #180

Open
2 of 3 tasks
urrri opened this issue Feb 23, 2021 · 0 comments
Open
2 of 3 tasks

Feature: Add option for additional files/folders to be watched #180

urrri opened this issue Feb 23, 2021 · 0 comments

Comments

@urrri
Copy link

urrri commented Feb 23, 2021

Is your feature request related to a problem? Please describe.

Some files, used as mock dependencies can be out of the mock folder(s). E.g. configurations, files shared with main project, etc.
To make sure any related change in that files accepted by mocker, they also should be watched.

Describe the solution you'd like

MockerOption can have a field like filesToWatch (additionalFilesToWatch, watchFiles, etc., next to the field watchOptions), that can contain array of additional files and folders.
All that entries should be added to watch list, but not to mock list.
The minimal resolution should be file, because it can be, for example, placed at the root folder of a project and we don't want to watch the whole project.

Issue Checklist

  • I have checked for other similar issues
  • I have explained why this change is important
  • I have added necessary documentation (if appropriate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant