Watch Batch
Batch file to provide node-sass/webpack watching for windows users.
This commit is contained in:
parent
515d6b666a
commit
acdeafe6db
1 changed files with 11 additions and 0 deletions
11
ui/watch.bat
Normal file
11
ui/watch.bat
Normal 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
|
Loading…
Add table
Reference in a new issue