Skip to content

Instantly share code, notes, and snippets.

Andrew Faria andrewfaria

Block or report user

Report or block andrewfaria

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# Selenium:
# Fonts:
# Node: ppa:chris-lea/node.js
set -e
if [ -e /.installed ]; then
echo 'Already installed.'
andrewfaria / forever-watch-restart.js
Created Apr 3, 2014
Beat the pesky node forever -w flag and only restart one file with this
View forever-watch-restart.js
var fs = require('fs'),
exec = require('child_process').exec,
restarting = false
function watch() {
restarting = false'./server.js', function(e, file) {
console.log(e + ' : ' + file)
You can’t perform that action at this time.