You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Watching doesn't work if parent directory contains special characters #42
Hi, any news on this?
Is watchpack going to move to sane or are we waiting a patch for chokidar?
Just asking because I'm stuck on a Dropbox Business folder, and there's no way to make it work...
@marcoqu I am trying to get it working by making a link to a folder without any especial characters.
On windows on an admin prompt:
mklink /J "C:\Projects" "C:\Dropbox (Business)\Projects"
@shshaw@marcoqu I did not manage to make the symlink approach work like I expected. What did work for me was moving the folder to a valid path and then making a symlink back to the original path but that may not be possible for everyone. Sorry.
@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
Activity
marcoqu commentedon Mar 1, 2017
Hi, any news on this?
Is watchpack going to move to sane or are we waiting a patch for chokidar?
Just asking because I'm stuck on a Dropbox Business folder, and there's no way to make it work...
Any workaround?
Thanks
gbmeireles commentedon Mar 8, 2017
@marcoqu I am trying to get it working by making a link to a folder without any especial characters.
On windows on an admin prompt:
mklink /J "C:\Projects" "C:\Dropbox (Business)\Projects"
shshaw commentedon Mar 8, 2017
@gbmeireles In this case,
C:\Projectsis the link andC:\Dropbox (Business)\Projectsis where the actual files reside?gbmeireles commentedon Mar 8, 2017
@shshaw Yes, that`s right.
gbmeireles commentedon Mar 8, 2017
@shshaw @marcoqu I did not manage to make the symlink approach work like I expected. What did work for me was moving the folder to a valid path and then making a symlink back to the original path but that may not be possible for everyone. Sorry.
marcoqu commentedon Mar 9, 2017
@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:
How do I override nested NPM dependency versions?
Jorenm commentedon May 26, 2017
Here's a copy of the shrinkwrap I used to fix it:
syed834 commentedon Oct 30, 2024
**_
_**