Created
February 14, 2022 03:51
-
-
Save yuhangch/fc9c9f392d570860c4d119318292b23e to your computer and use it in GitHub Desktop.
git pull / kill previous app / reload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd app-dir | |
git pull | |
ps -ef| grep "dotnet run$" | tr -s " " | cut -d " " -f 2 | xargs kill | |
nohup dotnet run & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment