setup-python/node_modules/.bin/watch.cmd

7 lines
194 B
Batchfile

@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\@cnakazawa\watch\cli.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\@cnakazawa\watch\cli.js" %*
)