mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-13 09:17:02 +00:00
Exploratory client
This commit is contained in:
3
dev.sh
3
dev.sh
@@ -2,7 +2,7 @@
|
||||
|
||||
# Function to handle Ctrl+C
|
||||
handle_sigint() {
|
||||
kill $pid1 $pid2 $pid3
|
||||
kill $pid1 $pid2
|
||||
exit
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ trap 'handle_sigint' SIGINT
|
||||
# Start three processes in the background
|
||||
npm run dev --prefix ./client & pid1=$!
|
||||
npm start --prefix ./desktop & pid2=$!
|
||||
go run -C ./server . & pid3=$!
|
||||
|
||||
# Wait for all processes to finish
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user