index.js
function run(filepath) {
	var startTime = process.hrtime();
	var uniqueCommand = command.replace('$path', filepath);
	if (!argv.silent) {
		console.log('>', uniqueCommand);
	}
	execshell(uniqueCommand);
	if (!argv.silent) {
		console.log('Finished in', prettyHrtime(process.hrtime(startTime)));
	}
}
function run(filepath) {
	var startTime = process.hrtime();
	var uniqueCommand = command.replace('$path', filepath);
	if (!argv.silent) {
		console.log('>', uniqueCommand);
	}
	execshell(uniqueCommand);
	if (!argv.silent) {
		console.log('Finished in', prettyHrtime(process.hrtime(startTime)));
	}
}
function run ( filepath ) { var startTime = process . hrtime ( ) ; var uniqueCommand = command . replace ( '$path' , filepath ) ; if ( ! argv . silent ) { console . log ( '>' , uniqueCommand ) ; } execshell ( uniqueCommand ) ; if ( ! argv . silent ) { console . log ( 'Finished in' , prettyHrtime ( process . hrtime ( startTime ) ) ) ; } }
Function to run when something changes
Function to run when something changes