在构建后事件中运行npm run gulp
时,后面的任何命令都不会运行。
例如,
cd $(ProjectDir)
npm run gulp
echo "Not being hit" // This line isn't being hit
xcopy "foo" "bar" // This line isn't being hit
仅从CMD运行npm run gulp
命令,然后回显%ERRORLEVEL%
会显示0
。有任何想法吗?我见过this这样的帖子,关于由于开放的连接而导致的大口挂