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

Commit

Permalink
Merge pull request #1170 from 18F/js-reduce-docker-logs
Browse files Browse the repository at this point in the history
Reduce logs from docker env
  • Loading branch information
rememberlenny authored Jul 26, 2017
2 parents 0edd39c + 13ce4e0 commit 4b79959
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 0 additions & 3 deletions devtools/node/cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ chokidar.watch([
'^index.html*'
]).on('add', (file) => {
fs.unlinkSync(`${file}`);
/* eslint-disable no-console */
console.log(`deleted ${file}`);
/* eslint-enable no-console */
});
9 changes: 6 additions & 3 deletions devtools/node/install_deps_then
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,21 @@ fi


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

echo "Running '$@'"
exec "$@"

0 comments on commit 4b79959

Please sign in to comment.