Skip to content

Commit

Permalink
[minor] Version bump. Fix small bug in 0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Nov 16, 2010
1 parent 2bcc53d commit 29bc24f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bin/forever
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ var mappings = {

// Show help prompt if requested or if the
// incorrect usage options are supplied
if (argv.h || argv.help || Object.keys(argv).length === 2
|| argv._.length === 0) {
if (argv.h || argv.help || argv._.length === 0) {
sys.puts(help);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "forever",
"description": "A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)",
"version": "0.2.6",
"version": "0.2.7",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",
"contributors": [
{ "name": "Fedor Indutny", "email": "fedor.indutny@gmail.com" }
Expand Down
11 changes: 11 additions & 0 deletions samples/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var sys = require('sys'),
http = require('http');

http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write('hello, i know nodejitsu.')
res.end();
}).listen(80);

/* server started */
sys.puts('> hello world running on port 80');

0 comments on commit 29bc24f

Please sign in to comment.