browser-sync
Advanced tools
Comparing version 0.3.10 to 0.4.0
@@ -333,3 +333,3 @@ var portScanner = require('portscanner'); | ||
var app, modifySnippet = this.modifySnippet(host, ports[0]); | ||
var staticServer, msg; | ||
var staticServer, msg, proxyServer; | ||
@@ -342,3 +342,3 @@ // Serve the JS file manually for anything that doesn't use a server. | ||
if (proxy) { | ||
createProxy(host, ports, options); | ||
proxyServer = createProxy(host, ports, options); | ||
} else { | ||
@@ -363,3 +363,3 @@ | ||
if (server && !server) { | ||
if (proxy && !server) { | ||
msg = messages.initProxy(host, ports[2]); | ||
@@ -375,3 +375,6 @@ this.openBrowser(host, ports[2], options); | ||
return staticServer; | ||
return { | ||
staticServer : staticServer, | ||
proxyServer : proxyServer | ||
}; | ||
}, | ||
@@ -378,0 +381,0 @@ /** |
{ | ||
"name": "browser-sync", | ||
"description": "Live CSS Reload & Browser Syncing", | ||
"version": "0.3.10", | ||
"version": "0.4.0", | ||
"homepage": "https://github.com/shakyshane/browser-sync", | ||
@@ -6,0 +6,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
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
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
147553
1499