We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Files are not being watched for glob <dir>/** if <dir> does not exist.
<dir>/**
<dir>
Versions (please complete the following information):
To Reproduce
// index.js const chokidar = require('chokidar'); const watcher = chokidar.watch(['dir/**']); watcher.on('add', path => console.log(path));
Run this code and create file.ext in dir:
file.ext
dir
mkdir dir && touch dir/file.ext
You will see nothing in console.
The text was updated successfully, but these errors were encountered:
Duplicate of latter-created #872
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Files are not being watched for glob
<dir>/**
if<dir>
does not exist.Versions (please complete the following information):
To Reproduce
Run this code and create
file.ext
indir
:mkdir dir && touch dir/file.ext
You will see nothing in console.
The text was updated successfully, but these errors were encountered: