From 87ec2a80239f832a1f3fd5270c94f55382ae8d82 Mon Sep 17 00:00:00 2001 From: Albony Cal <67057319+Albonycal@users.noreply.github.com> Date: Thu, 9 Dec 2021 23:31:32 +0530 Subject: [PATCH] Update .replit Fixes #564 This will increase the deployment time tho... as it updates the repo and then installs a package before running replit.. I see no other workaround tho, maybe downloading lsof binary manually? --- .replit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.replit b/.replit index 4e8f812..ac62780 100644 --- a/.replit +++ b/.replit @@ -1,3 +1,3 @@ language = "bash" -run = "kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run" -onBoot = "kill $(lsof -t -i:5000) > /dev/null 2>&1; pip install -r requirements.txt && ./run" +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"