Permalink
Browse files

docs

Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
  • Loading branch information...
1 parent 46c246c commit 2b89953836a14410fc590f490bb00817d5d30f7e @eirikurn eirikurn committed with tj Mar 30, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 docs/reload.md
View
@@ -1,4 +1,3 @@
-
## Reload
Restart the server the given js `files` have changed.
@@ -36,4 +35,10 @@
cluster(server)
.use(cluster.reload('lib', { signal: 'SIGQUIT' }))
- .listen(3000);
+ .listen(3000);
+
+ Watching coffee-script files as well.
+
+ cluster(server)
+ .use(cluster.reload('lib', { extensions: ['.js', '.coffee'] }))
+ .listen(3000);

0 comments on commit 2b89953

Please sign in to comment.