Skip to content

Commit b6e703d

Browse files
committed
v2.1.0
1 parent 399dd5f commit b6e703d

File tree

4 files changed

+904
-894
lines changed

4 files changed

+904
-894
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v2.1.0:
2+
date: 2019-09-03
3+
changes:
4+
- Update package lock.
5+
- Allow all configuration options of livereload to be passed through.
16
v2.0.0:
27
date: 2018-09-09
38
changes:

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# grunt-contrib-connect v2.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-connect.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-connect) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/3bp93hbs2rd5lwfd/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master)
1+
# grunt-contrib-connect v2.1.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-connect.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-connect) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/3bp93hbs2rd5lwfd/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master)
22

33
> Start a connect web server
44
@@ -85,12 +85,14 @@ Default: `false`
8585
Set the `debug` option to true to enable logging instead of using the `--debug` flag.
8686

8787
#### livereload
88-
Type: `Boolean` or `Number`
88+
Type: `Boolean`, `Number`, or `Object`
8989
Default: `false`
9090

91-
Set to `true` or a port number to inject a live reload script tag into your page using [connect-livereload](https://github.com/intesso/connect-livereload).
91+
Set to anything but `false` to inject a live reload script tag into your page using [connect-livereload](https://github.com/intesso/connect-livereload).
9292

93-
*This does not perform live reloading. It is intended to be used in tandem with grunt-contrib-watch or another task that will trigger a live reload server upon files changing.*
93+
If you set to `true`, defaults are used. If you set to a number, that number is used as a port number, together with the hostname you configured. If you set this to an object, that object is passed to `connect-livereload` unchanged as its configuration.
94+
95+
*This does not by itself perform live reloading.* It is intended to be used in tandem with grunt-contrib-watch or another task that will trigger a live reload server upon files changing.
9496

9597
#### open
9698
Type: `Boolean` or `String` or `Object`
@@ -378,6 +380,7 @@ grunt.registerTask('jasmine-server', 'start web server for jasmine tests in brow
378380

379381
## Release History
380382

383+
* 2019-09-03   v2.1.0   Update package lock. Allow all configuration options of livereload to be passed through.
381384
* 2018-09-09   v2.0.0   Drop Node.js < 6 support. Update all dependencies and switch to `node-http2`. Add `secureProtocol` in `httpsOptions`. Fix `open.appName`. Allow passing `serve-index` options.
382385
* 2016-04-27   v1.0.2   Fixed http2 dependencies and stopped using the fork.
383386
* 2016-03-22   v1.0.1   Fixed dependencies behind corporate proxy server.
@@ -408,4 +411,4 @@ grunt.registerTask('jasmine-server', 'start web server for jasmine tests in brow
408411

409412
Task submitted by ["Cowboy" Ben Alman](http://benalman.com)
410413

411-
*This file was generated on Sun Sep 09 2018 10:07:45.*
414+
*This file was generated on Tue Sep 03 2019 12:53:19.*

0 commit comments

Comments
 (0)