0.1.5-SNAPSHOT • Published 8 years ago

pinlog v0.1.5-SNAPSHOT

Weekly downloads
24
License
-
Repository
-
Last release
8 years ago

pinlog

Simple tool that 'pins' the output of tools like nodemon to always start at the top of the terminal window so that I eliminate the distraction of the constantly moving text in the console. Has hardcoded rules for nodemon and lein-cljsbuild.

To use just do

nodemon | pinlog

Works by clearing the screen when certain pattern is detected in the output.

Rules are loaded from ./.pinlog and must be array with JavaScript futctions.

Example:

[
	function lein(str){
		return /Compiling \"/.test(str);
	}
]

If you want to run it locally from soucre use lein npm link