Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWatching doesn't work if parent directory contains special characters #42
Comments
|
Hi, any news on this? Any workaround? |
|
@marcoqu I am trying to get it working by making a link to a folder without any especial characters. |
|
@gbmeireles In this case, |
|
@shshaw Yes, that`s right. |
|
@gbmeireles @shshaw The issue with dropbox businness and watchpack is that watchpack does not work with folders with brackets or with symlinks, and dropbox also doens't sync symlinks. So that won't fix it. The hack that made it work for me is manually replacing is-glob used by chokidar with the latest version (3.1.0?). That actually worked. See also: paulmillr/chokidar#533 You should be able to use npm shrinkwrap to override deep dependencies from webpack/watchpack: |
|
Here's a copy of the shrinkwrap I used to fix it:
|
Easiest way to reproduce this is by running the webpack tutorial from a directory that contains parentheses in the name.
This is an issue in chokidar (see paulmillr/chokidar#533). There is a PR open to fix it.
This will also be fixed if we move to another watching library, which #41 intends to do.
For more info: