Merge pull request #567 from wallermadev/WD-Microsoft-Watch

Windows Watch Batch
This commit is contained in:
Alex Grin 2017-09-19 09:29:17 -04:00 committed by GitHub
commit 47aec4efcf

11
ui/watch.bat Normal file
View file

@ -0,0 +1,11 @@
@echo off
set found=
for %%F in (
"%~dp0\node_modules\node-sass\bin\node-sass"
"%~dp0\node_modules\.bin\webpack"
) do if exist %%F (set found=1)
if not defined found EXIT
node %~dp0\node_modules\node-sass\bin\node-sass --output %~dp0\..\app\dist\css --sourcemap=none %~dp0\scss
%~dp0\node_modules\.bin\webpack --config %~dp0\webpack.dev.config.js --progress --colors --watch