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?
This commit is contained in:
Albony Cal 2021-12-09 23:31:32 +05:30 committed by GitHub
parent 3d8da1db58
commit 87ec2a8023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"