holger1411/11straps

npm run watch not working on windows

jpkeisala opened this issue · 2 comments

rm -rf dev/*

'rm' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! 11strap@0.7.0 clean: rm -rf dev/*
npm ERR! Exit status 1

Argh, yes. the "rm" command must be replaced by "del" on win OS.
Maybe not a good practice from my side.
Will try to replace it by a OS agnostic approach.

Switched to gulp-clean for that task(s) to remove it from the OS depended layer to an independend workflow.
Feel free to reopen if that did not fix your problem.