waitingsong / node-win32-api

win32 api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running tasks in vscode on Windows

Venryx opened this issue · comments

Executing npm run build currently fails on Windows, since it calls npm run clean, which calls rm -rf dist/*, which fails since Windows doesn't have the rf command.

A simple solution is to add shx as a dev-dependency, then replace rm -rf dist/* with shx rm -rf dist/*.

Created a pull request fixing this issue here: #19

I run scripts npm run clean under git-bash, so rm -rf works. 😄