Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

'How to install' section added

  • Loading branch information...
commit bb6a59b450b0dcb213b745fe57af6c56b1702488 1 parent 95b6d65
@konteck authored
Showing with 12 additions and 4 deletions.
  1. +12 −4 README.md
View
16 README.md
@@ -3,7 +3,13 @@
Reload your Node.js application if it's source code changed.
Tested on Windows, Mac OSX, Linux.
-How to use:
+### How to install:
+
+```js
+npm install reloader
+```
+
+### How to use:
To use it just include 'reloader' as usual NodeJS module
and put code that must be started after every restart in
@@ -41,8 +47,10 @@ app.get('/', function (req, res) {
});
```
-Parameters
+### Parameters
+```js
watchModules: false
-onRestart: function
-onStart: function
+onRestart: function() {}
+onStart: function() {}
+```
Please sign in to comment.
Something went wrong with that request. Please try again.