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 }}
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
On Windows 10 the use of path often returns \ as the path separator. As described in paulmillr/chokidar#777 this causes watched paths with globs to fail.
(Edited) The (temporary?) solution is to use replace(/\\/g, '/') on the path strings to ensure / is used instead.
I could open a PR if that's helpful.
Reproduction steps
With an initialized patternlab: ./node_modules/.bin/patternlab serve --watch
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
General information
Problem description
On Windows 10 the use of
path
often returns\
as the path separator. As described in paulmillr/chokidar#777 this causes watched paths with globs to fail.(Edited) The (temporary?) solution is to use
replace(/\\/g, '/')
on the path strings to ensure/
is used instead.I could open a PR if that's helpful.
Reproduction steps
With an initialized patternlab:
./node_modules/.bin/patternlab serve --watch
The text was updated successfully, but these errors were encountered: