Skip to content

Commit

Permalink
[refactor fix] Pass options to forever.start
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki authored and indexzero committed Nov 23, 2011
1 parent 3d262df commit dbf46c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ app.cmd('help', cli.help = function () {
// Remark: this regex matches everything. It has to be added at the end to
// make executing other commands possible.
//
app.cmd(/(.*)/, cli.start = function (file) {
app.cmd(/(.+)/, cli.start = function (file) {
var options = getOptions(file);
tryStart(file, options, function () {
var monitor = forever.start(file, options);
Expand Down

0 comments on commit dbf46c3

Please sign in to comment.