start-server.bat

@echo off
cd ..
netstat -p tcp -ano | findstr 27017
if %ERRORLEVEL% equ 0 (
    start /min gulp
    nodemon server.js
) ELSE (
    start /min gulp
    start /min scripts\StartMongoDB.bat
    nodemon server.js
)