|
1 |
| -# grunt-contrib-connect v2.0.0 [](https://travis-ci.org/gruntjs/grunt-contrib-connect) [](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master) |
| 1 | +# grunt-contrib-connect v2.1.0 [](https://travis-ci.org/gruntjs/grunt-contrib-connect) [](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master) |
2 | 2 |
|
3 | 3 | > Start a connect web server
|
4 | 4 |
|
@@ -85,12 +85,14 @@ Default: `false`
|
85 | 85 | Set the `debug` option to true to enable logging instead of using the `--debug` flag.
|
86 | 86 |
|
87 | 87 | #### livereload
|
88 |
| -Type: `Boolean` or `Number` |
| 88 | +Type: `Boolean`, `Number`, or `Object` |
89 | 89 | Default: `false`
|
90 | 90 |
|
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). |
92 | 92 |
|
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. |
94 | 96 |
|
95 | 97 | #### open
|
96 | 98 | Type: `Boolean` or `String` or `Object`
|
@@ -378,6 +380,7 @@ grunt.registerTask('jasmine-server', 'start web server for jasmine tests in brow
|
378 | 380 |
|
379 | 381 | ## Release History
|
380 | 382 |
|
| 383 | + * 2019-09-03 v2.1.0 Update package lock. Allow all configuration options of livereload to be passed through. |
381 | 384 | * 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.
|
382 | 385 | * 2016-04-27 v1.0.2 Fixed http2 dependencies and stopped using the fork.
|
383 | 386 | * 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
|
408 | 411 |
|
409 | 412 | Task submitted by ["Cowboy" Ben Alman](http://benalman.com)
|
410 | 413 |
|
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