From f996f1ab4a5a15cd22dee4dc5f0e6e727e3450cf Mon Sep 17 00:00:00 2001 From: Albony Cal <67057319+Albonycal@users.noreply.github.com> Date: Fri, 10 Dec 2021 10:31:26 +0530 Subject: [PATCH] Update .replit One less dependency, yea ik this's lil janky but works and doesn't need lsof it uses `killall -q python3` --- .replit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.replit b/.replit index ac62780..c68c7ba 100644 --- a/.replit +++ b/.replit @@ -1,3 +1,3 @@ language = "bash" -run = "install-pkg lsof && kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run" -onBoot = "install-pkg lsof && kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run" +run = "killall -q python3 > /dev/null 2>&1; pip install -r requirements.txt && ./run" +onBoot = "killall -q python3 > /dev/null 2>&1; pip install -r requirements.txt && ./run"