Skip to content

Commit

Permalink
v 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
avevlad committed Feb 12, 2014
1 parent 3a825a4 commit c40c6bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var
connect = require('gulp-connect');

gulp.task('connect', connect.server({
root: __dirname + '/app',
root: ['app'],
port: 1337,
livereload: true,
open: {
Expand Down Expand Up @@ -56,7 +56,7 @@ gulp.task('default', ['connect', 'stylus', 'watch']);

```js
gulp.task('connect', connect.server({
root: __dirname + '/app',
root: ['app', 'some_path'],
port: 1337,
livereload:{
port: 35729
Expand Down Expand Up @@ -84,7 +84,7 @@ stylus = require("gulp-stylus")
connect = require("gulp-connect")

gulp.task "connect", connect.server(
root: __dirname + "/app"
root: ['app']
port: 1337
livereload: true
open:
Expand Down Expand Up @@ -118,8 +118,8 @@ gulp.task "default", [

#### options.root

Type: `String`
Default: `app`
Type: `Array`
Default: `['app']`

The root path

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-connect",
"version": "0.4.0",
"version": "0.5.0",
"description": "Gulp plugin connect to server, LiveReload and opening browser",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit c40c6bd

Please sign in to comment.