Skip to content

Commit 47796f5

Browse files
committed
chore(logging): improve logs
1 parent 4daeefb commit 47796f5

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

bin/server.sh

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,19 @@ function start {
6868

6969
set_traps "$temp_dir"
7070

71-
log ":)"
71+
log 'hi :)'
7272

73-
log "starting vue init survey"
73+
log 'starting vue init survey...'
7474
start_auto_survey ${output_dir} ${expect_file} ${TEMPLATE_PROJECT_DIR} "${output_project_name}"
75-
clear; log "project generated. waiting for changes..."
75+
log 'project generated using provided answers'
76+
log 'waiting for changes...'
7677

7778
fswatch -o "${TEMPLATE_PROJECT_DIR}/template" | while read num; do
78-
log "change detected"
79-
log "regenerating output project..."
79+
log 'change detected'
80+
log 'auto-generating output project...'
8081
start_survey ${output_dir} ${expect_file}
81-
clear; log "project generated. waiting for changes..."
82+
log 'project regenerated using initial answers'
83+
log 'waiting for changes...'
8284
done
8385
}
8486

@@ -260,8 +262,8 @@ function do_exit {
260262
}
261263

262264
function log_exit {
263-
log "bye bye!
264-
"
265+
log 'bye!
266+
'
265267
}
266268

267269
# DOwn WInd from the SEwage TREatment PLAnt

0 commit comments

Comments
 (0)