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

webpack-livereload-plugin

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-livereload-plugin - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

index.js

@@ -10,3 +10,3 @@ /* jshint node:true */

this.lastHash = null;
this.hostname = this.hostname || 'localhost';
this.hostname = this.options.hostname || 'localhost';
this.server = null;

@@ -13,0 +13,0 @@ }

{
"name": "webpack-livereload-plugin",
"version": "0.8.0",
"version": "0.8.1",
"description": "Livereload for webpack",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -65,1 +65,13 @@ var test = require('tape');

});
test('autoloadJs hostname defaults to localhost', function(t) {
var plugin = new LiveReloadPlugin();
t.assert(plugin.autoloadJs().match(/localhost/));
t.end();
});
test('autoloadJs contains hostname option', function(t) {
var plugin = new LiveReloadPlugin({hostname: 'example.com'});
t.assert(plugin.autoloadJs().match(/example.com/));
t.end();
});
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