Permalink
Browse files

Use latest socket.io.

  • Loading branch information...
1 parent e5bb00e commit 46e38b373c7a86bbbb15177822e1ea3ff1ecda6c @andrewdavey committed Jan 8, 2013
Showing with 23 additions and 2 deletions.
  1. +21 −0 src/README.md
  2. +2 −2 src/package.json
View
@@ -0,0 +1,21 @@
+# Vogue
+
+Vogue creates a real-time link between your web browser and your file system. When you save
+a CSS file, used by the HTML page in your browser, Vogue will make the browser reload the
+stylesheet. Only the stylesheet is reloaded, not the entire page, making it work
+even for very dynamic/ajax pages.
+
+## Usage
+Run the Vogue server.
+
+ vogue --port 8001 /path/to/website
+
+`--port` : The port used for Vogue's HTTP server. Optional, defaults to 8001.
+
+`--rewrite` : A rule in the form of "regexp:replacement" (e.g. `v[0-9]/(.*)$:files/\$1` ) to rewrite urls to filesystem paths.
+ Submatches such as $1 will probably need to entered in your shell as \$1 to escape the $.
+
+Open http://localhost:8001/ to see instructions for loading the Vogue client into your
+web pages.
+
+
View
@@ -1,7 +1,7 @@
{
"name": "vogue",
"description": "Auto-reload stylesheets in web browser whenever the CSS files are saved.",
- "version": "0.4.3",
+ "version": "0.5.0",
"homepage": "http://github.com/andrewdavey/vogue",
"repository": "http://github.com/andrewdavey/vogue.git",
"author": "Andrew Davey <andrew@equin.co.uk> (http://aboutcode.net/)",
@@ -15,7 +15,7 @@
"vogue": "./vogue.js"
},
"dependencies": {
- "socket.io": "0.7.x",
+ "socket.io": ">=0.9.0",
"parseopt": ">=1.0.0"
}
}

0 comments on commit 46e38b3

Please sign in to comment.