govau / design-system-starter

🚀 The Australian Government Design System - Starter

Home Page:https://design-system-starter.apps.b.cld.gov.au/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 10 has a broken browsersync URL and onchange doesn't fire

alex-page opened this issue · comments

The URL for browsersync doesn't work with windows as it adds single quotes to the URL.
The watch functionality is also broken in windows due to this.

http://localhost:3000/'docs'

Looking at the documentation for onchange it says:

NOTE: Windows users may need to use double quotes rather than single quotes. If used in an npm script, remember to escape the double quotes.

Found out that non existent folders causes an issue with onchange in windows: #Qard/onchange#50

A PR for this issue can be found here #1

There is an issue with chokidar and non existent files in windows.

#paulmillr/chokidar#346