From 522668b5d93b46d7beb7f4d4c5db2078cf08560b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 28 Feb 2013 16:30:45 +0100 Subject: [PATCH] doc: update instructions on home page Document how to run the example on the home page in more detail. Apparently our Windows brethren are prone to double-clicking on the binary instead of running it from the command line. Fixes #4854. --- doc/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/index.html b/doc/index.html index a9a8546bd64..9368d5f5a52 100644 --- a/doc/index.html +++ b/doc/index.html @@ -89,7 +89,9 @@ http.createServer(function (req, res) { }).listen(1337, '127.0.0.1'); console.log('Server running at http://127.0.0.1:1337/'); -

To run the server, put the code into a file example.js and execute it with the node program:

+

To run the server, put the code into a file + example.js and execute it with the + node program from the command line:

 % node example.js
 Server running at http://127.0.0.1:1337/