Open moos opened 3 years ago
Working on a mounted drive runs into chokidar issue and does not detect changes. The usePolling chokidar option fixes this. It'd be great if a watchOptions param can be passed to chokidar. e.g.
usePolling
watchOptions
liveServer.start({ root: '.', ignore: ['node_modules', 'vendor'], watchOptions: { usePolling: true }, });
I'm using WSL 2 on Windows 10. My working directory is on Windows (e.g., C:/dev/foo) and in WSL it's /mnt/c/dev/foo.
C:/dev/foo
/mnt/c/dev/foo
live-server
Issue description
Working on a mounted drive runs into chokidar issue and does not detect changes. The
usePolling
chokidar option fixes this. It'd be great if awatchOptions
param can be passed to chokidar. e.g.Software details
I'm using WSL 2 on Windows 10. My working directory is on Windows (e.g.,
C:/dev/foo
) and in WSL it's/mnt/c/dev/foo
.live-server
: n/a (using node)live-server
version: 1.2.1