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
Do you want to request a feature or report a bug?
Bug report.
What is the current behavior?
When i create link in node_modules and set symlinks to false, I have problem with watch, it works sometimes (more often it doesn`t work)
If the current behavior is a bug, please provide the steps to reproduce.
create link
set symlinks to false
change file by link
What is the expected behavior?
Watch must work
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Activity
arshtepe commentedon Dec 14, 2017
I need quick workaround. How can i add to watch path to source folder ?
I tried add path to source folder in resolve.modules, but it doesn`t work.
alexander-akait commentedon Dec 14, 2017
@arshtepe in near time i investigate this
arshtepe commentedon Dec 14, 2017
I update my demo for better understanding problem.
To reproduce you need:
and modify something in simple-repo2
folder webpack have link to -> repo, repo link to-> repo2.
Maybe it helps.
https://bitbucket.org/CyBer_UA/webpack-demo/src/a8287bb1a36e2bd91ccd55a42bfcdbb6bf0726ed?at=master
arshtepe commentedon Jan 9, 2018
@evilebottnawi How's the investigation going ? Maybe, Do you need help ?
alexander-akait commentedon Jan 11, 2018
@arshtepe today i look this
alexander-akait commentedon Feb 28, 2018
@arshtepe Sorry for delay, don't have time 😞 Feel free to investigate and send PR for fix this 👍
SEAPUNK commentedon Mar 16, 2018
I believe the solution here is to set chokidar.followSymlinks to
trueif webpack's resolve.symlinks is set to false: https://github.com/webpack/watchpack/blob/master/lib/DirectoryWatcher.js#L54arshtepe commentedon May 23, 2018
@SEAPUNK I tested this solution on Windows 10 and Ubuntu and it works.
alexander-akait commentedon Feb 19, 2019
@SEAPUNK can you send a PR?
SEAPUNK commentedon Feb 19, 2019
@evilebottnawi The PR is at #72, I believe.