Motivation: The method used by live-server to track file changes doesn't work in the Windows Subsystem for Linux V2 (see here for details). This can be fixed by enabling the usePolling option in chokidar.
Changes: Add --poll command line and poll API options to live-server, set to false by default, which enable usePolling in chokidar. Update documentation.
Motivation: The method used by live-server to track file changes doesn't work in the Windows Subsystem for Linux V2 (see here for details). This can be fixed by enabling the
usePolling
option in chokidar.Changes: Add
--poll
command line andpoll
API options to live-server, set tofalse
by default, which enableusePolling
in chokidar. Update documentation.