Skip to content

Commit

Permalink
feat(throttle): Bump UI for network throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Mar 29, 2015
1 parent 4c58541 commit 7e2f588
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lib/file-watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ module.exports.plugin = function (options, emitter) {

var tempWatcher;

tempWatcher = globWatcher(glob.toJS(), watchOptions, function (data) {
tempWatcher = globWatcher(glob.toJS(), watchOptions);

tempWatcher.on("change", function (data) {
data.namespace = namespace;
emitter.emit("file:changed", data);
});
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"dependencies": {
"async-each-series": "^0.1.1",
"browser-sync-client": "^1.0.1",
"browser-sync-ui": "^0.4.11",
"browser-sync-ui": "^0.5.0",
"connect": "^3.3.5",
"dev-ip": "^1.0.1",
"easy-extender": "^2.3.0",
"eazy-logger": "^2.1.1",
"emitter-steward": "^0.0.1",
"foxy": "^10.1.0",
"glob-watcher": "^0.0.8",
"glob-watcher": "^2.0.0",
"immutable": "^3.6.4",
"localtunnel": "^1.3.0",
"lodash": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion test/specs/e2e/cli/e2e.cli.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ describe("E2E CLI server test with extensions option - multiple", function () {
assert.equal(instance.options.getIn(["server", "serveStaticOptions", "index"]), "index.html");
assert.deepEqual(instance.options.getIn(["server", "serveStaticOptions", "extensions"]).toJS(), ["html", "css"]);
});
});
});

0 comments on commit 7e2f588

Please sign in to comment.