Browse files

more exact info in readme file

  • Loading branch information...
1 parent 039e7d2 commit 6b6f438f3f7db9423a2cb9b88f2e9f0f60ae7dcb @shimondoodkin committed Jun 28, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4
@@ -3,9 +3,8 @@ It is a way to watch all .js files if they have been changed and to restart node
It allows easy development and stable production.
## How to use nodejs auto restart:
-Copy `autoexit.js` and `` to `/var/www/`
+Copy `` and `autoexit.js` to root folder of your application
+for example to `/var/www`. Copying of `autoexit.js` is optional and it can be included from deps folder
### Add to your script at top:
require.paths.unshift(__dirname); //make local paths accessible
@@ -76,8 +75,9 @@ Edit `` to match to your server.js filename.
cd /var/www
-To make it work with upstart
+### To make it work with upstart - run on boot
Copy `nodejs.conf` to `/etc/init/``
+and modify it to point to
### To use upstart you type :

0 comments on commit 6b6f438

Please sign in to comment.