browser-sync
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -7,3 +7,3 @@ | ||
var http = require("http"); | ||
var serveStatic = require("serve-static"); | ||
//var serveStatic = require("serve-static"); | ||
@@ -20,37 +20,41 @@ console.time("init"); | ||
"/debug": "/usr/local/lib/node_modules/weinre/web" | ||
} | ||
}, | ||
// tunnel: true, | ||
// proxy: "swoon.static/store-home.php", | ||
files: "test/fixtures/*.html", | ||
//// tunnel: true, | ||
// codeSync: false, | ||
// port: 8080, | ||
// online: false, | ||
open: false | ||
// logFileChanges: false | ||
// https: true, | ||
// tunnel: true, | ||
// logConnections: true, | ||
// notify: true, | ||
// browser: ["Safari"] | ||
}; | ||
var cp = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-cp"); | ||
var client = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client"); | ||
client["plugin:name"] = "client:script"; | ||
browserSync.use(cp); | ||
browserSync.use(client); | ||
var instance = browserSync(options, function (err, bs) { | ||
setTimeout(function () { | ||
bs.setOption("codeSync", false); | ||
setTimeout(function () { | ||
bs.setOption("codeSync", true); | ||
}, 5000); | ||
}, 5000); | ||
// | ||
//var clientScript = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client/index"); | ||
//clientScript.name = "client:script"; | ||
//var cp = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-cp/index"); | ||
// require("fs").writeFileSync("./opts-server.txt", JSON.stringify(bs.options, null, 4)); | ||
// browserSync.exit(); | ||
// | ||
//browserSync.use({ | ||
// plugin: function () { | ||
// | ||
// } | ||
//}, {name: "shane is awesome"}); | ||
// | ||
// | ||
// | ||
//console.log(cp); | ||
// | ||
//var validUrls = []; | ||
// | ||
var instance = browserSync(options, function (err, bs) { | ||
// next(); | ||
}); | ||
}); | ||
function next() { | ||
options.server = false; | ||
options.proxy = "swoon.static/store-home.php"; | ||
var instance = browserSync(options, function (err, bs) { | ||
require("fs").writeFileSync("./opts-proxy.txt", JSON.stringify(bs.options, null, 4)); | ||
browserSync.exit(); | ||
}); | ||
} |
{ | ||
"name": "browser-sync", | ||
"description": "Live CSS Reload & Browser Syncing", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"homepage": "https://github.com/shakyshane/browser-sync", | ||
@@ -36,3 +36,3 @@ "author": { | ||
"emitter-steward": "0.0.1", | ||
"foxy": "^0.2.1", | ||
"foxy": "~0.2.1", | ||
"glob-watcher": "0.0.6", | ||
@@ -46,3 +46,3 @@ "http-proxy": "~1.1.4", | ||
"portscanner-plus": "0.1.0", | ||
"resp-modifier": "0.1.1", | ||
"resp-modifier": "~0.1.2", | ||
"serve-index": "^1.1.5", | ||
@@ -49,0 +49,0 @@ "serve-static": "^1.4.2", |
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
549645
53
3236
10
+ Addedresp-modifier@0.1.2(transitive)
- Removedresp-modifier@0.1.1(transitive)
Updatedfoxy@~0.2.1
Updatedresp-modifier@~0.1.2