reload on every commit (#2618)

This commit is contained in:
Ali Abdalla 2022-11-08 04:21:31 -08:00 committed by GitHub
parent a80084f3df
commit f9e9654225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ export PATH="/usr/local/bin:/usr/bin:/bin"
git pull > /tmp/git_changes.txt
if ! grep -q "gradio/version.txt" /tmp/git_changes.txt; then
if grep -q "Already up to date." /tmp/git_changes.txt; then
echo "NO CHANGES"
else
echo "Reloading..."