fix: Windows Build/Watch Errors
This MR fixes 2 errors when try to develop on a Windows machine (see #790).
Changes
-
Replace POXIS
rm -rf
call with nodejs versionnote: Since node 18 there is a deprecation warning, but the suggested replacement does not work on windows.
-
Ensure unix separators on windows for webfont
Using Windows paths separator
\
will break fastGlob. This MR replace\
with/
when windows is detected.
Closes #790