Skip to content

Instantly share code, notes, and snippets.

@chapel
Created September 7, 2011 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chapel/1199753 to your computer and use it in GitHub Desktop.
Save chapel/1199753 to your computer and use it in GitHub Desktop.
/*===========================================================================
SETTINGS
============================================================================= */
var port = 3000,
cacheAge = 60000 * 60 * 24 * 365,
logs = {
set: false,
string: '\\n ' + ':date'.bold.underline + '\\n\\n' + ' IP: '.cyan.bold
+ ' ' + ':remote-addr'.white + '\\n' + ' Method: '.red.bold
+ ':method'.white + '\\n' + ' URL: '.blue.bold + ':url'.white
+ '\\n' + ' Status: '.yellow.bold + ':status'.white + '\\n'
+ ' User Agent: '.magenta.bold + ':user-agent'.white
},
css = {
count: 0,
debug: false,
set: true,
string: function() {
return ' Stylus has detected changes and compiled new assets '
+ this.count + ' times so far';
}
},
compiler;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment