rollup-plugin-livereload
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -7,4 +7,17 @@ # Changelog | ||
## [0.0.2] | ||
## [1.1.0] - 2020-03-19 | ||
### Added | ||
- Add support for codesandbox.io #37 @jakobrosenberg | ||
## [1.0.4] - 2019-10-05 | ||
### Changed | ||
- Update livereload to 0.8.0 || ^0.8.2 | ||
## [1.0.0] - 2019-01-27 | ||
### Changed | ||
- Add support for Rollup 1 @yohangz | ||
## [0.0.1] - 2016-09-24 | ||
@@ -11,0 +24,0 @@ |
@@ -19,3 +19,7 @@ 'use strict'; | ||
var port = options.port || 35729; | ||
var snippetSrc = options.clientUrl ? JSON.stringify(options.clientUrl) : ("'//' + (window.location.host || 'localhost').split(':')[0] + ':" + port + "/livereload.js?snipver=1'"); | ||
var snippetSrc = options.clientUrl | ||
? JSON.stringify(options.clientUrl) | ||
: process.env.CODESANDBOX_SSE | ||
? "'//' + (window.location.host.replace(/^([^.]+)/, \"$1-35729\")).split(':')[0] + '/livereload.js?snipver=1&port=443'" | ||
: ("'//' + (window.location.host || 'localhost').split(':')[0] + ':" + port + "/livereload.js?snipver=1'"); | ||
var server = livereload$1.createServer(options); | ||
@@ -22,0 +26,0 @@ |
@@ -17,3 +17,7 @@ import { createServer } from 'livereload'; | ||
var port = options.port || 35729; | ||
var snippetSrc = options.clientUrl ? JSON.stringify(options.clientUrl) : ("'//' + (window.location.host || 'localhost').split(':')[0] + ':" + port + "/livereload.js?snipver=1'"); | ||
var snippetSrc = options.clientUrl | ||
? JSON.stringify(options.clientUrl) | ||
: process.env.CODESANDBOX_SSE | ||
? "'//' + (window.location.host.replace(/^([^.]+)/, \"$1-35729\")).split(':')[0] + '/livereload.js?snipver=1&port=443'" | ||
: ("'//' + (window.location.host || 'localhost').split(':')[0] + ':" + port + "/livereload.js?snipver=1'"); | ||
var server = createServer(options); | ||
@@ -20,0 +24,0 @@ |
{ | ||
"name": "rollup-plugin-livereload", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "Rollup plugin for LiveReload that watches the bundle and reloads the page on change", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9146
105
2