Created
February 13, 2012 15:55
-
-
Save mmalecki/1817817 to your computer and use it in GitHub Desktop.
Hack to make forever work with node parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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