Skip to content

Instantly share code, notes, and snippets.

@mmalecki
Created February 13, 2012 15:55
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 mmalecki/1817817 to your computer and use it in GitHub Desktop.
Save mmalecki/1817817 to your computer and use it in GitHub Desktop.
Hack to make forever work with node parameters
var forever = require('forever');
var m = new forever.Monitor();
m.command = '/usr/bin/env';
m.args = ['node', '--trace-gc', 'gc.js'];
m.start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment