Skip to content

gdanov/pinlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published