mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-26 07:02:59 +00:00
build script: Automatically set the title of the terminal window
This commit is contained in:
parent
68b86a2f91
commit
f3addb3a93
1 changed files with 3 additions and 1 deletions
4
build
4
build
|
@ -94,7 +94,7 @@ function task_setup-dev {
|
||||||
|
|
||||||
function task_database {
|
function task_database {
|
||||||
task_begin "Connecting to the database";
|
task_begin "Connecting to the database";
|
||||||
|
set-title "Database";
|
||||||
ssh -TN "${database_host}" -L 3306:localhost:3306 &
|
ssh -TN "${database_host}" -L 3306:localhost:3306 &
|
||||||
ssh_pid=$!;
|
ssh_pid=$!;
|
||||||
sleep 1;
|
sleep 1;
|
||||||
|
@ -143,6 +143,8 @@ function task_client {
|
||||||
}
|
}
|
||||||
|
|
||||||
function task_client-watch {
|
function task_client-watch {
|
||||||
|
set-title "Client Watcher";
|
||||||
|
|
||||||
echo -e "Watching for changes.";
|
echo -e "Watching for changes.";
|
||||||
while :; do # : = infinite loop
|
while :; do # : = infinite loop
|
||||||
# Wait for an update
|
# Wait for an update
|
||||||
|
|
Loading…
Reference in a new issue