Skip to content
This repository was archived by the owner on May 19, 2020. It is now read-only.

Commit 13ce4e0

Browse files
author
James C. Scott
committed
Reduce logs from docker env
Also make some logs available
1 parent e58edf4 commit 13ce4e0

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

devtools/node/cleanup.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ chokidar.watch([
88
'^index.html*'
99
]).on('add', (file) => {
1010
fs.unlinkSync(`${file}`);
11-
/* eslint-disable no-console */
12-
console.log(`deleted ${file}`);
13-
/* eslint-enable no-console */
1411
});

devtools/node/install_deps_then

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,21 @@ fi
2727

2828

2929
if [[ -z "${START_VNC}" ]]; then
30-
echo "Not starting VNC"
30+
echo "Not starting VNC..."
3131
else
3232
# make sure we comment out the nvm bash_completion line because
3333
# it doesn't work when starting VNC.
3434
sed -i 's/.*NVM_DIR\/bash_completion/#&/' $HOME/.bashrc
3535
# in the case of wait, we will want to setup the VNC.
36-
/dockerstartup/vnc_startup.sh
36+
echo "Starting VNC service..."
37+
/dockerstartup/vnc_startup.sh &> /dev/null
3738
if [ $? -ne 0 ]; then
3839
# if it fails, we should exit before getting caught in the sleep command.
39-
echo "something went wrong setting up vnc"
40+
echo "Something went wrong setting up vnc"
4041
exit 1
4142
fi
43+
echo "VNC service started!"
4244
fi
4345

46+
echo "Running '$@'"
4447
exec "$@"

0 commit comments

Comments
 (0)