Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-livereload

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-livereload - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

15

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc