Skip to content

Instantly share code, notes, and snippets.

@amergin
Created June 11, 2016 09:47
Show Gist options
  • Save amergin/37385f63db7b7a5a79257a7ed8ae3d12 to your computer and use it in GitHub Desktop.
Save amergin/37385f63db7b7a5a79257a7ed8ae3d12 to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
var prerender = require('./lib');
var server = prerender({
workers: process.env.PHANTOM_CLUSTER_NUM_WORKERS,
iterations: process.env.PHANTOM_WORKER_ITERATIONS,
logRequests: true
});
server.start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment