nest-cli
nest-cli copied to clipboard
fix: unification copy behavior between watched and not watched assets
chokidar.watch listen also for hidden files but glob do not. This means hidden files are copied in watch mode but they are not when watch mode is turned off
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:
What is the current behavior?
Hidden files are not coppied when watch mode is turned off
Issue Number: #2653
What is the new behavior?
Hidden files will be copied regardless watch mode
Does this PR introduce a breaking change?
[ ] Yes
[x] No