Skip to content

Instantly share code, notes, and snippets.

@adamstac
Forked from thechangelog/nodejuice.js
Created February 2, 2010 05:04
Show Gist options
  • Save adamstac/292402 to your computer and use it in GitHub Desktop.
Save adamstac/292402 to your computer and use it in GitHub Desktop.
// config file: nodejuice.js
// Example StaticMatic configuration.
// -> http://localhost:3010
exports.sidekick = {
host : null, // Leave 'null' to listen on all hosts.
port : 3010, // access your server from this port.
fetch : { // point to your web server.
host : 'localhost',
port : 3000
}
};
exports.seeker = {
host : null, // Leave 'null' to listen on all hosts.
port : 8002, // port :-/
delay : 150, // time in ms before page starts to reload.
// setting too low will cause file read errors in Apache
wait : 1200, // time in milliseconds before a new connection.
// setting too low will make crazziness.
ignore : [ // path or file name to ignore.
/\/\./,
/git$/,
/svn$/,
/cvs$/,
/swp$/,
/~$/
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment