11 lines
270 B
Batchfile
11 lines
270 B
Batchfile
@echo off
|
|
echo Stopping any existing instances...
|
|
for /f "tokens=5" %%a in ('netstat -ano ^| findstr :58461 ^| findstr LISTENING') do (
|
|
echo Killing process %%a
|
|
taskkill /F /PID %%a 2>nul
|
|
)
|
|
|
|
echo Starting application...
|
|
cd src\PowderCoating.Web
|
|
dotnet watch run
|