diff --git a/README.md b/README.md index 1328939..d0261aa 100644 --- a/README.md +++ b/README.md @@ -141,16 +141,17 @@ Serve your component/app documentation & demo - [ ] Handle errors - [ ] Run tests with [Travis CI](https://travis-ci.org/) & [SAUCELABS](https://saucelabs.com/) - ## Projects using Backed CLI ### components - [custom-marked](https://github.com/VandeurenGlenn/custom-marked) -- [reef-controller](https://github.com/Reeflight/reef-controller) RPI reeflight controller ### frameworks - [Backed](https://github.com/VandeurenGlenn/backed) - Small web framework for quick app & component development +## Organizations using Backed CLI +- [reeflight](https://github.com/reeflight) + ## License MIT © [Glenn Vandeuren]() diff --git a/bin/backed.js b/bin/backed.js index 17c62a7..f3e51a4 100644 --- a/bin/backed.js +++ b/bin/backed.js @@ -991,6 +991,7 @@ var logger$3 = require('backed-logger'); var time = function time() { return new Date().toLocaleTimeString(); }; +var worker = void 0; /** * @extends EventEmitter @@ -1088,7 +1089,11 @@ var Watcher = function (_EventEmitter) { value: function runWorker(task, config) { var _this3 = this; - var worker = void 0; + if (this.busy) { + worker.kill(); + this.busy = false; + } + this.busy = true; worker = fork$1(path$2.join(__dirname, 'workers/watcher-worker.js')); worker.on('message', function (message) { if (message === 'done') { @@ -1097,6 +1102,8 @@ var Watcher = function (_EventEmitter) { } logger$3.log('[' + time() + '] ' + logger$3._chalk('Reloading browser', 'cyan')); _this3.emit(message); + worker.kill(); + _this3.busy = false; }); worker.send({ task: task, config: config }); } diff --git a/docs/ast/source/watcher.js.json b/docs/ast/source/watcher.js.json index 20935f6..af3c405 100644 --- a/docs/ast/source/watcher.js.json +++ b/docs/ast/source/watcher.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2494, + "end": 2631, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 86, + "line": 93, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2494, + "end": 2631, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 86, + "line": 93, "column": 0 } }, @@ -1054,20 +1054,71 @@ } } ], - "kind": "const", + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 361, + "end": 372, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 11 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 365, + "end": 371, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 10 + } + }, + "id": { + "type": "Identifier", + "start": 365, + "end": 371, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 10 + }, + "identifierName": "worker" + }, + "name": "worker" + }, + "init": null + } + ], + "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @extends EventEmitter\n ", - "start": 362, - "end": 394, + "start": 374, + "end": 406, "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 3 } } @@ -1076,29 +1127,29 @@ }, { "type": "Identifier", - "start": 395, - "end": 2463, + "start": 407, + "end": 2600, "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 84, + "line": 91, "column": 1 } }, "id": { "type": "Identifier", - "start": 401, - "end": 408, + "start": 413, + "end": 420, "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 13 }, "identifierName": "Watcher" @@ -1108,15 +1159,15 @@ }, "superClass": { "type": "Identifier", - "start": 417, - "end": 429, + "start": 429, + "end": 441, "loc": { "start": { - "line": 16, + "line": 17, "column": 22 }, "end": { - "line": 16, + "line": 17, "column": 34 }, "identifierName": "EventEmitter" @@ -1125,45 +1176,45 @@ }, "body": { "type": "ClassBody", - "start": 430, - "end": 2463, + "start": 442, + "end": 2600, "loc": { "start": { - "line": 16, + "line": 17, "column": 35 }, "end": { - "line": 84, + "line": 91, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 490, - "end": 1277, + "start": 502, + "end": 1289, "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 45, + "line": 46, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 490, - "end": 495, + "start": 502, + "end": 507, "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 7 }, "identifierName": "watch" @@ -1180,15 +1231,15 @@ "params": [ { "type": "Identifier", - "start": 496, - "end": 502, + "start": 508, + "end": 514, "loc": { "start": { - "line": 21, + "line": 22, "column": 8 }, "end": { - "line": 21, + "line": 22, "column": 14 }, "identifierName": "config" @@ -1198,58 +1249,58 @@ ], "body": { "type": "BlockStatement", - "start": 504, - "end": 1277, + "start": 516, + "end": 1289, "loc": { "start": { - "line": 21, + "line": 22, "column": 16 }, "end": { - "line": 45, + "line": 46, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 510, - "end": 1273, + "start": 522, + "end": 1285, "loc": { "start": { - "line": 22, + "line": 23, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 7 } }, "argument": { "type": "NewExpression", - "start": 517, - "end": 1272, + "start": 529, + "end": 1284, "loc": { "start": { - "line": 22, + "line": 23, "column": 11 }, "end": { - "line": 44, + "line": 45, "column": 6 } }, "callee": { "type": "Identifier", - "start": 521, - "end": 528, + "start": 533, + "end": 540, "loc": { "start": { - "line": 22, + "line": 23, "column": 15 }, "end": { - "line": 22, + "line": 23, "column": 22 }, "identifierName": "Promise" @@ -1259,15 +1310,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 529, - "end": 1271, + "start": 541, + "end": 1283, "loc": { "start": { - "line": 22, + "line": 23, "column": 23 }, "end": { - "line": 44, + "line": 45, "column": 5 } }, @@ -1278,15 +1329,15 @@ "params": [ { "type": "Identifier", - "start": 530, - "end": 537, + "start": 542, + "end": 549, "loc": { "start": { - "line": 22, + "line": 23, "column": 24 }, "end": { - "line": 22, + "line": 23, "column": 31 }, "identifierName": "resolve" @@ -1295,15 +1346,15 @@ }, { "type": "Identifier", - "start": 539, - "end": 545, + "start": 551, + "end": 557, "loc": { "start": { - "line": 22, + "line": 23, "column": 33 }, "end": { - "line": 22, + "line": 23, "column": 39 }, "identifierName": "reject" @@ -1313,44 +1364,44 @@ ], "body": { "type": "BlockStatement", - "start": 550, - "end": 1271, + "start": 562, + "end": 1283, "loc": { "start": { - "line": 22, + "line": 23, "column": 44 }, "end": { - "line": 44, + "line": 45, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 558, - "end": 715, + "start": 570, + "end": 727, "loc": { "start": { - "line": 23, + "line": 24, "column": 6 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 562, - "end": 575, + "start": 574, + "end": 587, "loc": { "start": { - "line": 23, + "line": 24, "column": 10 }, "end": { - "line": 23, + "line": 24, "column": 23 } }, @@ -1358,29 +1409,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 563, - "end": 575, + "start": 575, + "end": 587, "loc": { "start": { - "line": 23, + "line": 24, "column": 11 }, "end": { - "line": 23, + "line": 24, "column": 23 } }, "object": { "type": "Identifier", - "start": 563, - "end": 569, + "start": 575, + "end": 581, "loc": { "start": { - "line": 23, + "line": 24, "column": 11 }, "end": { - "line": 23, + "line": 24, "column": 17 }, "identifierName": "config" @@ -1389,15 +1440,15 @@ }, "property": { "type": "Identifier", - "start": 570, - "end": 575, + "start": 582, + "end": 587, "loc": { "start": { - "line": 23, + "line": 24, "column": 18 }, "end": { - "line": 23, + "line": 24, "column": 23 }, "identifierName": "watch" @@ -1412,72 +1463,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 577, - "end": 715, + "start": 589, + "end": 727, "loc": { "start": { - "line": 23, + "line": 24, "column": 25 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 587, - "end": 619, + "start": 599, + "end": 631, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 587, - "end": 618, + "start": 599, + "end": 630, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 587, - "end": 598, + "start": 599, + "end": 610, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 19 } }, "object": { "type": "Identifier", - "start": 587, - "end": 593, + "start": 599, + "end": 605, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 14 }, "identifierName": "logger" @@ -1486,15 +1537,15 @@ }, "property": { "type": "Identifier", - "start": 594, - "end": 598, + "start": 606, + "end": 610, "loc": { "start": { - "line": 24, + "line": 25, "column": 15 }, "end": { - "line": 24, + "line": 25, "column": 19 }, "identifierName": "warn" @@ -1506,15 +1557,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 599, - "end": 617, + "start": 611, + "end": 629, "loc": { "start": { - "line": 24, + "line": 25, "column": 20 }, "end": { - "line": 24, + "line": 25, "column": 38 } }, @@ -1529,43 +1580,43 @@ }, { "type": "ExpressionStatement", - "start": 628, - "end": 655, + "start": 640, + "end": 667, "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 25, + "line": 26, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 628, - "end": 654, + "start": 640, + "end": 666, "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 25, + "line": 26, "column": 34 } }, "callee": { "type": "Identifier", - "start": 628, - "end": 634, + "start": 640, + "end": 646, "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 25, + "line": 26, "column": 14 }, "identifierName": "reject" @@ -1575,15 +1626,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 635, - "end": 653, + "start": 647, + "end": 665, "loc": { "start": { - "line": 25, + "line": 26, "column": 15 }, "end": { - "line": 25, + "line": 26, "column": 33 } }, @@ -1598,57 +1649,57 @@ }, { "type": "ReturnStatement", - "start": 664, - "end": 707, + "start": 676, + "end": 719, "loc": { "start": { - "line": 26, + "line": 27, "column": 8 }, "end": { - "line": 26, + "line": 27, "column": 51 } }, "argument": { "type": "CallExpression", - "start": 671, - "end": 706, + "start": 683, + "end": 718, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 671, - "end": 683, + "start": 683, + "end": 695, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 27 } }, "object": { "type": "Identifier", - "start": 671, - "end": 678, + "start": 683, + "end": 690, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 22 }, "identifierName": "process" @@ -1657,15 +1708,15 @@ }, "property": { "type": "Identifier", - "start": 679, - "end": 683, + "start": 691, + "end": 695, "loc": { "start": { - "line": 26, + "line": 27, "column": 23 }, "end": { - "line": 26, + "line": 27, "column": 27 }, "identifierName": "kill" @@ -1677,29 +1728,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 684, - "end": 695, + "start": 696, + "end": 707, "loc": { "start": { - "line": 26, + "line": 27, "column": 28 }, "end": { - "line": 26, + "line": 27, "column": 39 } }, "object": { "type": "Identifier", - "start": 684, - "end": 691, + "start": 696, + "end": 703, "loc": { "start": { - "line": 26, + "line": 27, "column": 28 }, "end": { - "line": 26, + "line": 27, "column": 35 }, "identifierName": "process" @@ -1708,15 +1759,15 @@ }, "property": { "type": "Identifier", - "start": 692, - "end": 695, + "start": 704, + "end": 707, "loc": { "start": { - "line": 26, + "line": 27, "column": 36 }, "end": { - "line": 26, + "line": 27, "column": 39 }, "identifierName": "pid" @@ -1727,15 +1778,15 @@ }, { "type": "StringLiteral", - "start": 697, - "end": 705, + "start": 709, + "end": 717, "loc": { "start": { - "line": 26, + "line": 27, "column": 41 }, "end": { - "line": 26, + "line": 27, "column": 49 } }, @@ -1755,73 +1806,73 @@ }, { "type": "ExpressionStatement", - "start": 722, - "end": 750, + "start": 734, + "end": 762, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 722, - "end": 749, + "start": 734, + "end": 761, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 722, - "end": 733, + "start": 734, + "end": 745, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 722, - "end": 726, + "start": 734, + "end": 738, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 10 } } }, "property": { "type": "Identifier", - "start": 727, - "end": 733, + "start": 739, + "end": 745, "loc": { "start": { - "line": 28, + "line": 29, "column": 11 }, "end": { - "line": 28, + "line": 29, "column": 17 }, "identifierName": "server" @@ -1832,29 +1883,29 @@ }, "right": { "type": "MemberExpression", - "start": 736, - "end": 749, + "start": 748, + "end": 761, "loc": { "start": { - "line": 28, + "line": 29, "column": 20 }, "end": { - "line": 28, + "line": 29, "column": 33 } }, "object": { "type": "Identifier", - "start": 736, - "end": 742, + "start": 748, + "end": 754, "loc": { "start": { - "line": 28, + "line": 29, "column": 20 }, "end": { - "line": 28, + "line": 29, "column": 26 }, "identifierName": "config" @@ -1863,15 +1914,15 @@ }, "property": { "type": "Identifier", - "start": 743, - "end": 749, + "start": 755, + "end": 761, "loc": { "start": { - "line": 28, + "line": 29, "column": 27 }, "end": { - "line": 28, + "line": 29, "column": 33 }, "identifierName": "server" @@ -1884,72 +1935,72 @@ }, { "type": "ExpressionStatement", - "start": 757, - "end": 789, + "start": 769, + "end": 801, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 757, - "end": 788, + "start": 769, + "end": 800, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 757, - "end": 775, + "start": 769, + "end": 787, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 757, - "end": 761, + "start": 769, + "end": 773, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 10 } } }, "property": { "type": "Identifier", - "start": 762, - "end": 775, + "start": 774, + "end": 787, "loc": { "start": { - "line": 29, + "line": 30, "column": 11 }, "end": { - "line": 29, + "line": 30, "column": 24 }, "identifierName": "configureDemo" @@ -1961,44 +2012,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 776, - "end": 787, + "start": 788, + "end": 799, "loc": { "start": { - "line": 29, + "line": 30, "column": 25 }, "end": { - "line": 29, + "line": 30, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 776, - "end": 780, + "start": 788, + "end": 792, "loc": { "start": { - "line": 29, + "line": 30, "column": 25 }, "end": { - "line": 29, + "line": 30, "column": 29 } } }, "property": { "type": "Identifier", - "start": 781, - "end": 787, + "start": 793, + "end": 799, "loc": { "start": { - "line": 29, + "line": 30, "column": 30 }, "end": { - "line": 29, + "line": 30, "column": 36 }, "identifierName": "server" @@ -2012,57 +2063,57 @@ }, { "type": "ExpressionStatement", - "start": 797, - "end": 874, + "start": 809, + "end": 886, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 797, - "end": 873, + "start": 809, + "end": 885, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 797, - "end": 807, + "start": 809, + "end": 819, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 16 } }, "object": { "type": "Identifier", - "start": 797, - "end": 803, + "start": 809, + "end": 815, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 12 }, "identifierName": "logger" @@ -2071,15 +2122,15 @@ }, "property": { "type": "Identifier", - "start": 804, - "end": 807, + "start": 816, + "end": 819, "loc": { "start": { - "line": 31, + "line": 32, "column": 13 }, "end": { - "line": 31, + "line": 32, "column": 16 }, "identifierName": "log" @@ -2091,44 +2142,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 808, - "end": 872, + "start": 820, + "end": 884, "loc": { "start": { - "line": 31, + "line": 32, "column": 17 }, "end": { - "line": 31, + "line": 32, "column": 81 } }, "expressions": [ { "type": "CallExpression", - "start": 812, - "end": 818, + "start": 824, + "end": 830, "loc": { "start": { - "line": 31, + "line": 32, "column": 21 }, "end": { - "line": 31, + "line": 32, "column": 27 } }, "callee": { "type": "Identifier", - "start": 812, - "end": 816, + "start": 824, + "end": 828, "loc": { "start": { - "line": 31, + "line": 32, "column": 21 }, "end": { - "line": 31, + "line": 32, "column": 25 }, "identifierName": "time" @@ -2139,43 +2190,43 @@ }, { "type": "CallExpression", - "start": 823, - "end": 870, + "start": 835, + "end": 882, "loc": { "start": { - "line": 31, + "line": 32, "column": 32 }, "end": { - "line": 31, + "line": 32, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 823, - "end": 836, + "start": 835, + "end": 848, "loc": { "start": { - "line": 31, + "line": 32, "column": 32 }, "end": { - "line": 31, + "line": 32, "column": 45 } }, "object": { "type": "Identifier", - "start": 823, - "end": 829, + "start": 835, + "end": 841, "loc": { "start": { - "line": 31, + "line": 32, "column": 32 }, "end": { - "line": 31, + "line": 32, "column": 38 }, "identifierName": "logger" @@ -2184,15 +2235,15 @@ }, "property": { "type": "Identifier", - "start": 830, - "end": 836, + "start": 842, + "end": 848, "loc": { "start": { - "line": 31, + "line": 32, "column": 39 }, "end": { - "line": 31, + "line": 32, "column": 45 }, "identifierName": "_chalk" @@ -2204,15 +2255,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 837, - "end": 861, + "start": 849, + "end": 873, "loc": { "start": { - "line": 31, + "line": 32, "column": 46 }, "end": { - "line": 31, + "line": 32, "column": 70 } }, @@ -2224,15 +2275,15 @@ }, { "type": "StringLiteral", - "start": 863, - "end": 869, + "start": 875, + "end": 881, "loc": { "start": { - "line": 31, + "line": 32, "column": 72 }, "end": { - "line": 31, + "line": 32, "column": 78 } }, @@ -2248,15 +2299,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 809, - "end": 810, + "start": 821, + "end": 822, "loc": { "start": { - "line": 31, + "line": 32, "column": 18 }, "end": { - "line": 31, + "line": 32, "column": 19 } }, @@ -2268,15 +2319,15 @@ }, { "type": "TemplateElement", - "start": 819, - "end": 821, + "start": 831, + "end": 833, "loc": { "start": { - "line": 31, + "line": 32, "column": 28 }, "end": { - "line": 31, + "line": 32, "column": 30 } }, @@ -2288,15 +2339,15 @@ }, { "type": "TemplateElement", - "start": 871, - "end": 871, + "start": 883, + "end": 883, "loc": { "start": { - "line": 31, + "line": 32, "column": 80 }, "end": { - "line": 31, + "line": 32, "column": 80 } }, @@ -2313,72 +2364,72 @@ }, { "type": "ExpressionStatement", - "start": 881, - "end": 904, + "start": 893, + "end": 916, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 881, - "end": 903, + "start": 893, + "end": 915, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 881, - "end": 895, + "start": 893, + "end": 907, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 881, - "end": 885, + "start": 893, + "end": 897, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 10 } } }, "property": { "type": "Identifier", - "start": 886, - "end": 895, + "start": 898, + "end": 907, "loc": { "start": { - "line": 32, + "line": 33, "column": 11 }, "end": { - "line": 32, + "line": 33, "column": 20 }, "identifierName": "runWorker" @@ -2390,15 +2441,15 @@ "arguments": [ { "type": "Identifier", - "start": 896, - "end": 902, + "start": 908, + "end": 914, "loc": { "start": { - "line": 32, + "line": 33, "column": 21 }, "end": { - "line": 32, + "line": 33, "column": 27 }, "identifierName": "config" @@ -2410,57 +2461,57 @@ }, { "type": "ExpressionStatement", - "start": 912, - "end": 993, + "start": 924, + "end": 1005, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 87 } }, "expression": { "type": "CallExpression", - "start": 912, - "end": 992, + "start": 924, + "end": 1004, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 912, - "end": 922, + "start": 924, + "end": 934, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 16 } }, "object": { "type": "Identifier", - "start": 912, - "end": 918, + "start": 924, + "end": 930, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 12 }, "identifierName": "logger" @@ -2469,15 +2520,15 @@ }, "property": { "type": "Identifier", - "start": 919, - "end": 922, + "start": 931, + "end": 934, "loc": { "start": { - "line": 34, + "line": 35, "column": 13 }, "end": { - "line": 34, + "line": 35, "column": 16 }, "identifierName": "log" @@ -2489,44 +2540,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 923, - "end": 991, + "start": 935, + "end": 1003, "loc": { "start": { - "line": 34, + "line": 35, "column": 17 }, "end": { - "line": 34, + "line": 35, "column": 85 } }, "expressions": [ { "type": "CallExpression", - "start": 927, - "end": 933, + "start": 939, + "end": 945, "loc": { "start": { - "line": 34, + "line": 35, "column": 21 }, "end": { - "line": 34, + "line": 35, "column": 27 } }, "callee": { "type": "Identifier", - "start": 927, - "end": 931, + "start": 939, + "end": 943, "loc": { "start": { - "line": 34, + "line": 35, "column": 21 }, "end": { - "line": 34, + "line": 35, "column": 25 }, "identifierName": "time" @@ -2537,43 +2588,43 @@ }, { "type": "CallExpression", - "start": 938, - "end": 989, + "start": 950, + "end": 1001, "loc": { "start": { - "line": 34, + "line": 35, "column": 32 }, "end": { - "line": 34, + "line": 35, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 938, - "end": 951, + "start": 950, + "end": 963, "loc": { "start": { - "line": 34, + "line": 35, "column": 32 }, "end": { - "line": 34, + "line": 35, "column": 45 } }, "object": { "type": "Identifier", - "start": 938, - "end": 944, + "start": 950, + "end": 956, "loc": { "start": { - "line": 34, + "line": 35, "column": 32 }, "end": { - "line": 34, + "line": 35, "column": 38 }, "identifierName": "logger" @@ -2582,15 +2633,15 @@ }, "property": { "type": "Identifier", - "start": 945, - "end": 951, + "start": 957, + "end": 963, "loc": { "start": { - "line": 34, + "line": 35, "column": 39 }, "end": { - "line": 34, + "line": 35, "column": 45 }, "identifierName": "_chalk" @@ -2602,15 +2653,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 952, - "end": 980, + "start": 964, + "end": 992, "loc": { "start": { - "line": 34, + "line": 35, "column": 46 }, "end": { - "line": 34, + "line": 35, "column": 74 } }, @@ -2622,15 +2673,15 @@ }, { "type": "StringLiteral", - "start": 982, - "end": 988, + "start": 994, + "end": 1000, "loc": { "start": { - "line": 34, + "line": 35, "column": 76 }, "end": { - "line": 34, + "line": 35, "column": 82 } }, @@ -2646,15 +2697,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 924, - "end": 925, + "start": 936, + "end": 937, "loc": { "start": { - "line": 34, + "line": 35, "column": 18 }, "end": { - "line": 34, + "line": 35, "column": 19 } }, @@ -2666,15 +2717,15 @@ }, { "type": "TemplateElement", - "start": 934, - "end": 936, + "start": 946, + "end": 948, "loc": { "start": { - "line": 34, + "line": 35, "column": 28 }, "end": { - "line": 34, + "line": 35, "column": 30 } }, @@ -2686,15 +2737,15 @@ }, { "type": "TemplateElement", - "start": 990, - "end": 990, + "start": 1002, + "end": 1002, "loc": { "start": { - "line": 34, + "line": 35, "column": 84 }, "end": { - "line": 34, + "line": 35, "column": 84 } }, @@ -2711,44 +2762,44 @@ }, { "type": "VariableDeclaration", - "start": 1001, - "end": 1019, + "start": 1013, + "end": 1031, "loc": { "start": { - "line": 36, + "line": 37, "column": 6 }, "end": { - "line": 36, + "line": 37, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1005, - "end": 1018, + "start": 1017, + "end": 1030, "loc": { "start": { - "line": 36, + "line": 37, "column": 10 }, "end": { - "line": 36, + "line": 37, "column": 23 } }, "id": { "type": "Identifier", - "start": 1005, - "end": 1013, + "start": 1017, + "end": 1025, "loc": { "start": { - "line": 36, + "line": 37, "column": 10 }, "end": { - "line": 36, + "line": 37, "column": 18 }, "identifierName": "watchers" @@ -2757,15 +2808,15 @@ }, "init": { "type": "ObjectExpression", - "start": 1016, - "end": 1018, + "start": 1028, + "end": 1030, "loc": { "start": { - "line": 36, + "line": 37, "column": 21 }, "end": { - "line": 36, + "line": 37, "column": 23 } }, @@ -2777,58 +2828,58 @@ }, { "type": "ForOfStatement", - "start": 1026, - "end": 1248, + "start": 1038, + "end": 1260, "loc": { "start": { - "line": 37, + "line": 38, "column": 6 }, "end": { - "line": 42, + "line": 43, "column": 7 } }, "left": { "type": "VariableDeclaration", - "start": 1031, - "end": 1040, + "start": 1043, + "end": 1052, "loc": { "start": { - "line": 37, + "line": 38, "column": 11 }, "end": { - "line": 37, + "line": 38, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1035, - "end": 1040, + "start": 1047, + "end": 1052, "loc": { "start": { - "line": 37, + "line": 38, "column": 15 }, "end": { - "line": 37, + "line": 38, "column": 20 } }, "id": { "type": "Identifier", - "start": 1035, - "end": 1040, + "start": 1047, + "end": 1052, "loc": { "start": { - "line": 37, + "line": 38, "column": 15 }, "end": { - "line": 37, + "line": 38, "column": 20 }, "identifierName": "watch" @@ -2842,29 +2893,29 @@ }, "right": { "type": "MemberExpression", - "start": 1044, - "end": 1056, + "start": 1056, + "end": 1068, "loc": { "start": { - "line": 37, + "line": 38, "column": 24 }, "end": { - "line": 37, + "line": 38, "column": 36 } }, "object": { "type": "Identifier", - "start": 1044, - "end": 1050, + "start": 1056, + "end": 1062, "loc": { "start": { - "line": 37, + "line": 38, "column": 24 }, "end": { - "line": 37, + "line": 38, "column": 30 }, "identifierName": "config" @@ -2873,15 +2924,15 @@ }, "property": { "type": "Identifier", - "start": 1051, - "end": 1056, + "start": 1063, + "end": 1068, "loc": { "start": { - "line": 37, + "line": 38, "column": 31 }, "end": { - "line": 37, + "line": 38, "column": 36 }, "identifierName": "watch" @@ -2892,73 +2943,73 @@ }, "body": { "type": "BlockStatement", - "start": 1058, - "end": 1248, + "start": 1070, + "end": 1260, "loc": { "start": { - "line": 37, + "line": 38, "column": 38 }, "end": { - "line": 42, + "line": 43, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1068, - "end": 1132, + "start": 1080, + "end": 1144, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 72 } }, "expression": { "type": "AssignmentExpression", - "start": 1068, - "end": 1131, + "start": 1080, + "end": 1143, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 71 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1068, - "end": 1088, + "start": 1080, + "end": 1100, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 28 } }, "object": { "type": "Identifier", - "start": 1068, - "end": 1076, + "start": 1080, + "end": 1088, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 16 }, "identifierName": "watchers" @@ -2967,29 +3018,29 @@ }, "property": { "type": "MemberExpression", - "start": 1077, - "end": 1087, + "start": 1089, + "end": 1099, "loc": { "start": { - "line": 38, + "line": 39, "column": 17 }, "end": { - "line": 38, + "line": 39, "column": 27 } }, "object": { "type": "Identifier", - "start": 1077, - "end": 1082, + "start": 1089, + "end": 1094, "loc": { "start": { - "line": 38, + "line": 39, "column": 17 }, "end": { - "line": 38, + "line": 39, "column": 22 }, "identifierName": "watch" @@ -2998,15 +3049,15 @@ }, "property": { "type": "Identifier", - "start": 1083, - "end": 1087, + "start": 1095, + "end": 1099, "loc": { "start": { - "line": 38, + "line": 39, "column": 23 }, "end": { - "line": 38, + "line": 39, "column": 27 }, "identifierName": "task" @@ -3019,43 +3070,43 @@ }, "right": { "type": "CallExpression", - "start": 1091, - "end": 1131, + "start": 1103, + "end": 1143, "loc": { "start": { - "line": 38, + "line": 39, "column": 31 }, "end": { - "line": 38, + "line": 39, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 1091, - "end": 1105, + "start": 1103, + "end": 1117, "loc": { "start": { - "line": 38, + "line": 39, "column": 31 }, "end": { - "line": 38, + "line": 39, "column": 45 } }, "object": { "type": "Identifier", - "start": 1091, - "end": 1099, + "start": 1103, + "end": 1111, "loc": { "start": { - "line": 38, + "line": 39, "column": 31 }, "end": { - "line": 38, + "line": 39, "column": 39 }, "identifierName": "chokidar" @@ -3064,15 +3115,15 @@ }, "property": { "type": "Identifier", - "start": 1100, - "end": 1105, + "start": 1112, + "end": 1117, "loc": { "start": { - "line": 38, + "line": 39, "column": 40 }, "end": { - "line": 38, + "line": 39, "column": 45 }, "identifierName": "watch" @@ -3084,29 +3135,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1106, - "end": 1115, + "start": 1118, + "end": 1127, "loc": { "start": { - "line": 38, + "line": 39, "column": 46 }, "end": { - "line": 38, + "line": 39, "column": 55 } }, "object": { "type": "Identifier", - "start": 1106, - "end": 1111, + "start": 1118, + "end": 1123, "loc": { "start": { - "line": 38, + "line": 39, "column": 46 }, "end": { - "line": 38, + "line": 39, "column": 51 }, "identifierName": "watch" @@ -3115,15 +3166,15 @@ }, "property": { "type": "Identifier", - "start": 1112, - "end": 1115, + "start": 1124, + "end": 1127, "loc": { "start": { - "line": 38, + "line": 39, "column": 52 }, "end": { - "line": 38, + "line": 39, "column": 55 }, "identifierName": "src" @@ -3134,29 +3185,29 @@ }, { "type": "MemberExpression", - "start": 1117, - "end": 1130, + "start": 1129, + "end": 1142, "loc": { "start": { - "line": 38, + "line": 39, "column": 57 }, "end": { - "line": 38, + "line": 39, "column": 70 } }, "object": { "type": "Identifier", - "start": 1117, - "end": 1122, + "start": 1129, + "end": 1134, "loc": { "start": { - "line": 38, + "line": 39, "column": 57 }, "end": { - "line": 38, + "line": 39, "column": 62 }, "identifierName": "watch" @@ -3165,15 +3216,15 @@ }, "property": { "type": "Identifier", - "start": 1123, - "end": 1130, + "start": 1135, + "end": 1142, "loc": { "start": { - "line": 38, + "line": 39, "column": 63 }, "end": { - "line": 38, + "line": 39, "column": 70 }, "identifierName": "options" @@ -3188,71 +3239,71 @@ }, { "type": "ExpressionStatement", - "start": 1141, - "end": 1240, + "start": 1153, + "end": 1252, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 1141, - "end": 1239, + "start": 1153, + "end": 1251, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 1141, - "end": 1164, + "start": 1153, + "end": 1176, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, + "line": 40, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 1141, - "end": 1161, + "start": 1153, + "end": 1173, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, + "line": 40, "column": 28 } }, "object": { "type": "Identifier", - "start": 1141, - "end": 1149, + "start": 1153, + "end": 1161, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, + "line": 40, "column": 16 }, "identifierName": "watchers" @@ -3261,29 +3312,29 @@ }, "property": { "type": "MemberExpression", - "start": 1150, - "end": 1160, + "start": 1162, + "end": 1172, "loc": { "start": { - "line": 39, + "line": 40, "column": 17 }, "end": { - "line": 39, + "line": 40, "column": 27 } }, "object": { "type": "Identifier", - "start": 1150, - "end": 1155, + "start": 1162, + "end": 1167, "loc": { "start": { - "line": 39, + "line": 40, "column": 17 }, "end": { - "line": 39, + "line": 40, "column": 22 }, "identifierName": "watch" @@ -3292,15 +3343,15 @@ }, "property": { "type": "Identifier", - "start": 1156, - "end": 1160, + "start": 1168, + "end": 1172, "loc": { "start": { - "line": 39, + "line": 40, "column": 23 }, "end": { - "line": 39, + "line": 40, "column": 27 }, "identifierName": "task" @@ -3313,15 +3364,15 @@ }, "property": { "type": "Identifier", - "start": 1162, - "end": 1164, + "start": 1174, + "end": 1176, "loc": { "start": { - "line": 39, + "line": 40, "column": 29 }, "end": { - "line": 39, + "line": 40, "column": 31 }, "identifierName": "on" @@ -3333,15 +3384,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1165, - "end": 1173, + "start": 1177, + "end": 1185, "loc": { "start": { - "line": 39, + "line": 40, "column": 32 }, "end": { - "line": 39, + "line": 40, "column": 40 } }, @@ -3353,15 +3404,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 1175, - "end": 1238, + "start": 1187, + "end": 1250, "loc": { "start": { - "line": 39, + "line": 40, "column": 42 }, "end": { - "line": 41, + "line": 42, "column": 9 } }, @@ -3372,87 +3423,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1181, - "end": 1238, + "start": 1193, + "end": 1250, "loc": { "start": { - "line": 39, + "line": 40, "column": 48 }, "end": { - "line": 41, + "line": 42, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1193, - "end": 1228, + "start": 1205, + "end": 1240, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 1193, - "end": 1227, + "start": 1205, + "end": 1239, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1193, - "end": 1207, + "start": 1205, + "end": 1219, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 1193, - "end": 1197, + "start": 1205, + "end": 1209, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 14 } } }, "property": { "type": "Identifier", - "start": 1198, - "end": 1207, + "start": 1210, + "end": 1219, "loc": { "start": { - "line": 40, + "line": 41, "column": 15 }, "end": { - "line": 40, + "line": 41, "column": 24 }, "identifierName": "runWorker" @@ -3464,29 +3515,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1208, - "end": 1218, + "start": 1220, + "end": 1230, "loc": { "start": { - "line": 40, + "line": 41, "column": 25 }, "end": { - "line": 40, + "line": 41, "column": 35 } }, "object": { "type": "Identifier", - "start": 1208, - "end": 1213, + "start": 1220, + "end": 1225, "loc": { "start": { - "line": 40, + "line": 41, "column": 25 }, "end": { - "line": 40, + "line": 41, "column": 30 }, "identifierName": "watch" @@ -3495,15 +3546,15 @@ }, "property": { "type": "Identifier", - "start": 1214, - "end": 1218, + "start": 1226, + "end": 1230, "loc": { "start": { - "line": 40, + "line": 41, "column": 31 }, "end": { - "line": 40, + "line": 41, "column": 35 }, "identifierName": "task" @@ -3514,15 +3565,15 @@ }, { "type": "Identifier", - "start": 1220, - "end": 1226, + "start": 1232, + "end": 1238, "loc": { "start": { - "line": 40, + "line": 41, "column": 37 }, "end": { - "line": 40, + "line": 41, "column": 43 }, "identifierName": "config" @@ -3545,43 +3596,43 @@ }, { "type": "ExpressionStatement", - "start": 1255, - "end": 1265, + "start": 1267, + "end": 1277, "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 16 } }, "expression": { "type": "CallExpression", - "start": 1255, - "end": 1264, + "start": 1267, + "end": 1276, "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 15 } }, "callee": { "type": "Identifier", - "start": 1255, - "end": 1262, + "start": 1267, + "end": 1274, "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 13 }, "identifierName": "resolve" @@ -3605,15 +3656,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config {@link Config}\n ", - "start": 435, - "end": 487, + "start": 447, + "end": 499, "loc": { "start": { - "line": 18, + "line": 19, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 5 } } @@ -3622,30 +3673,30 @@ }, { "type": "ClassMethod", - "start": 1281, - "end": 1820, + "start": 1293, + "end": 1832, "loc": { "start": { - "line": 47, + "line": 48, "column": 2 }, "end": { - "line": 62, + "line": 63, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1281, - "end": 1294, + "start": 1293, + "end": 1306, "loc": { "start": { - "line": 47, + "line": 48, "column": 2 }, "end": { - "line": 47, + "line": 48, "column": 15 }, "identifierName": "configureDemo" @@ -3661,15 +3712,15 @@ "params": [ { "type": "Identifier", - "start": 1295, - "end": 1301, + "start": 1307, + "end": 1313, "loc": { "start": { - "line": 47, + "line": 48, "column": 16 }, "end": { - "line": 47, + "line": 48, "column": 22 }, "identifierName": "server" @@ -3679,72 +3730,72 @@ ], "body": { "type": "BlockStatement", - "start": 1303, - "end": 1820, + "start": 1315, + "end": 1832, "loc": { "start": { - "line": 47, + "line": 48, "column": 24 }, "end": { - "line": 62, + "line": 63, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1309, - "end": 1380, + "start": 1321, + "end": 1392, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 1309, - "end": 1379, + "start": 1321, + "end": 1391, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 1309, - "end": 1319, + "start": 1321, + "end": 1331, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 14 } }, "object": { "type": "Identifier", - "start": 1309, - "end": 1315, + "start": 1321, + "end": 1327, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 10 }, "identifierName": "logger" @@ -3753,15 +3804,15 @@ }, "property": { "type": "Identifier", - "start": 1316, - "end": 1319, + "start": 1328, + "end": 1331, "loc": { "start": { - "line": 48, + "line": 49, "column": 11 }, "end": { - "line": 48, + "line": 49, "column": 14 }, "identifierName": "log" @@ -3773,44 +3824,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 1320, - "end": 1378, + "start": 1332, + "end": 1390, "loc": { "start": { - "line": 48, + "line": 49, "column": 15 }, "end": { - "line": 48, + "line": 49, "column": 73 } }, "expressions": [ { "type": "CallExpression", - "start": 1324, - "end": 1330, + "start": 1336, + "end": 1342, "loc": { "start": { - "line": 48, + "line": 49, "column": 19 }, "end": { - "line": 48, + "line": 49, "column": 25 } }, "callee": { "type": "Identifier", - "start": 1324, - "end": 1328, + "start": 1336, + "end": 1340, "loc": { "start": { - "line": 48, + "line": 49, "column": 19 }, "end": { - "line": 48, + "line": 49, "column": 23 }, "identifierName": "time" @@ -3821,43 +3872,43 @@ }, { "type": "CallExpression", - "start": 1335, - "end": 1376, + "start": 1347, + "end": 1388, "loc": { "start": { - "line": 48, + "line": 49, "column": 30 }, "end": { - "line": 48, + "line": 49, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 1335, - "end": 1348, + "start": 1347, + "end": 1360, "loc": { "start": { - "line": 48, + "line": 49, "column": 30 }, "end": { - "line": 48, + "line": 49, "column": 43 } }, "object": { "type": "Identifier", - "start": 1335, - "end": 1341, + "start": 1347, + "end": 1353, "loc": { "start": { - "line": 48, + "line": 49, "column": 30 }, "end": { - "line": 48, + "line": 49, "column": 36 }, "identifierName": "logger" @@ -3866,15 +3917,15 @@ }, "property": { "type": "Identifier", - "start": 1342, - "end": 1348, + "start": 1354, + "end": 1360, "loc": { "start": { - "line": 48, + "line": 49, "column": 37 }, "end": { - "line": 48, + "line": 49, "column": 43 }, "identifierName": "_chalk" @@ -3886,15 +3937,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1349, - "end": 1367, + "start": 1361, + "end": 1379, "loc": { "start": { - "line": 48, + "line": 49, "column": 44 }, "end": { - "line": 48, + "line": 49, "column": 62 } }, @@ -3906,15 +3957,15 @@ }, { "type": "StringLiteral", - "start": 1369, - "end": 1375, + "start": 1381, + "end": 1387, "loc": { "start": { - "line": 48, + "line": 49, "column": 64 }, "end": { - "line": 48, + "line": 49, "column": 70 } }, @@ -3930,15 +3981,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 1321, - "end": 1322, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 48, + "line": 49, "column": 16 }, "end": { - "line": 48, + "line": 49, "column": 17 } }, @@ -3950,15 +4001,15 @@ }, { "type": "TemplateElement", - "start": 1331, - "end": 1333, + "start": 1343, + "end": 1345, "loc": { "start": { - "line": 48, + "line": 49, "column": 26 }, "end": { - "line": 48, + "line": 49, "column": 28 } }, @@ -3970,15 +4021,15 @@ }, { "type": "TemplateElement", - "start": 1377, - "end": 1377, + "start": 1389, + "end": 1389, "loc": { "start": { - "line": 48, + "line": 49, "column": 72 }, "end": { - "line": 48, + "line": 49, "column": 72 } }, @@ -3995,29 +4046,29 @@ }, { "type": "IfStatement", - "start": 1386, - "end": 1816, + "start": 1398, + "end": 1828, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 61, + "line": 62, "column": 5 } }, "test": { "type": "Identifier", - "start": 1390, - "end": 1396, + "start": 1402, + "end": 1408, "loc": { "start": { - "line": 50, + "line": 51, "column": 8 }, "end": { - "line": 50, + "line": 51, "column": 14 }, "identifierName": "server" @@ -4026,59 +4077,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1398, - "end": 1816, + "start": 1410, + "end": 1828, "loc": { "start": { - "line": 50, + "line": 51, "column": 16 }, "end": { - "line": 61, + "line": 62, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 1406, - "end": 1459, + "start": 1418, + "end": 1471, "loc": { "start": { - "line": 51, + "line": 52, "column": 6 }, "end": { - "line": 51, + "line": 52, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1410, - "end": 1458, + "start": 1422, + "end": 1470, "loc": { "start": { - "line": 51, + "line": 52, "column": 10 }, "end": { - "line": 51, + "line": 52, "column": 58 } }, "id": { "type": "Identifier", - "start": 1410, - "end": 1418, + "start": 1422, + "end": 1430, "loc": { "start": { - "line": 51, + "line": 52, "column": 10 }, "end": { - "line": 51, + "line": 52, "column": 18 }, "identifierName": "demoPath" @@ -4087,43 +4138,43 @@ }, "init": { "type": "CallExpression", - "start": 1421, - "end": 1458, + "start": 1433, + "end": 1470, "loc": { "start": { - "line": 51, + "line": 52, "column": 21 }, "end": { - "line": 51, + "line": 52, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 1421, - "end": 1430, + "start": 1433, + "end": 1442, "loc": { "start": { - "line": 51, + "line": 52, "column": 21 }, "end": { - "line": 51, + "line": 52, "column": 30 } }, "object": { "type": "Identifier", - "start": 1421, - "end": 1425, + "start": 1433, + "end": 1437, "loc": { "start": { - "line": 51, + "line": 52, "column": 21 }, "end": { - "line": 51, + "line": 52, "column": 25 }, "identifierName": "path" @@ -4132,15 +4183,15 @@ }, "property": { "type": "Identifier", - "start": 1426, - "end": 1430, + "start": 1438, + "end": 1442, "loc": { "start": { - "line": 51, + "line": 52, "column": 26 }, "end": { - "line": 51, + "line": 52, "column": 30 }, "identifierName": "join" @@ -4152,43 +4203,43 @@ "arguments": [ { "type": "CallExpression", - "start": 1431, - "end": 1444, + "start": 1443, + "end": 1456, "loc": { "start": { - "line": 51, + "line": 52, "column": 31 }, "end": { - "line": 51, + "line": 52, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1431, - "end": 1442, + "start": 1443, + "end": 1454, "loc": { "start": { - "line": 51, + "line": 52, "column": 31 }, "end": { - "line": 51, + "line": 52, "column": 42 } }, "object": { "type": "Identifier", - "start": 1431, - "end": 1438, + "start": 1443, + "end": 1450, "loc": { "start": { - "line": 51, + "line": 52, "column": 31 }, "end": { - "line": 51, + "line": 52, "column": 38 }, "identifierName": "process" @@ -4197,15 +4248,15 @@ }, "property": { "type": "Identifier", - "start": 1439, - "end": 1442, + "start": 1451, + "end": 1454, "loc": { "start": { - "line": 51, + "line": 52, "column": 39 }, "end": { - "line": 51, + "line": 52, "column": 42 }, "identifierName": "cwd" @@ -4218,29 +4269,29 @@ }, { "type": "MemberExpression", - "start": 1446, - "end": 1457, + "start": 1458, + "end": 1469, "loc": { "start": { - "line": 51, + "line": 52, "column": 46 }, "end": { - "line": 51, + "line": 52, "column": 57 } }, "object": { "type": "Identifier", - "start": 1446, - "end": 1452, + "start": 1458, + "end": 1464, "loc": { "start": { - "line": 51, + "line": 52, "column": 46 }, "end": { - "line": 51, + "line": 52, "column": 52 }, "identifierName": "server" @@ -4249,15 +4300,15 @@ }, "property": { "type": "Identifier", - "start": 1453, - "end": 1457, + "start": 1465, + "end": 1469, "loc": { "start": { - "line": 51, + "line": 52, "column": 53 }, "end": { - "line": 51, + "line": 52, "column": 57 }, "identifierName": "demo" @@ -4274,29 +4325,29 @@ }, { "type": "IfStatement", - "start": 1467, - "end": 1568, + "start": 1479, + "end": 1580, "loc": { "start": { - "line": 53, + "line": 54, "column": 6 }, "end": { - "line": 55, + "line": 56, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 1471, - "end": 1503, + "start": 1483, + "end": 1515, "loc": { "start": { - "line": 53, + "line": 54, "column": 10 }, "end": { - "line": 53, + "line": 54, "column": 42 } }, @@ -4304,43 +4355,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1472, - "end": 1503, + "start": 1484, + "end": 1515, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 1472, - "end": 1489, + "start": 1484, + "end": 1501, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 28 } }, "object": { "type": "Identifier", - "start": 1472, - "end": 1480, + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 19 }, "identifierName": "demoPath" @@ -4349,15 +4400,15 @@ }, "property": { "type": "Identifier", - "start": 1481, - "end": 1489, + "start": 1493, + "end": 1501, "loc": { "start": { - "line": 53, + "line": 54, "column": 20 }, "end": { - "line": 53, + "line": 54, "column": 28 }, "identifierName": "includes" @@ -4369,15 +4420,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1490, - "end": 1502, + "start": 1502, + "end": 1514, "loc": { "start": { - "line": 53, + "line": 54, "column": 29 }, "end": { - "line": 53, + "line": 54, "column": 41 } }, @@ -4395,59 +4446,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1505, - "end": 1568, + "start": 1517, + "end": 1580, "loc": { "start": { - "line": 53, + "line": 54, "column": 44 }, "end": { - "line": 55, + "line": 56, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1515, - "end": 1560, + "start": 1527, + "end": 1572, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 1515, - "end": 1559, + "start": 1527, + "end": 1571, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 52 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1515, - "end": 1523, + "start": 1527, + "end": 1535, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 16 }, "identifierName": "demoPath" @@ -4456,43 +4507,43 @@ }, "right": { "type": "CallExpression", - "start": 1526, - "end": 1559, + "start": 1538, + "end": 1571, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 1526, - "end": 1535, + "start": 1538, + "end": 1547, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 28 } }, "object": { "type": "Identifier", - "start": 1526, - "end": 1530, + "start": 1538, + "end": 1542, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 23 }, "identifierName": "path" @@ -4501,15 +4552,15 @@ }, "property": { "type": "Identifier", - "start": 1531, - "end": 1535, + "start": 1543, + "end": 1547, "loc": { "start": { - "line": 54, + "line": 55, "column": 24 }, "end": { - "line": 54, + "line": 55, "column": 28 }, "identifierName": "join" @@ -4521,15 +4572,15 @@ "arguments": [ { "type": "Identifier", - "start": 1536, - "end": 1544, + "start": 1548, + "end": 1556, "loc": { "start": { - "line": 54, + "line": 55, "column": 29 }, "end": { - "line": 54, + "line": 55, "column": 37 }, "identifierName": "demoPath" @@ -4538,15 +4589,15 @@ }, { "type": "StringLiteral", - "start": 1546, - "end": 1558, + "start": 1558, + "end": 1570, "loc": { "start": { - "line": 54, + "line": 55, "column": 39 }, "end": { - "line": 54, + "line": 55, "column": 51 } }, @@ -4567,44 +4618,44 @@ }, { "type": "VariableDeclaration", - "start": 1575, - "end": 1618, + "start": 1587, + "end": 1630, "loc": { "start": { - "line": 56, + "line": 57, "column": 6 }, "end": { - "line": 56, + "line": 57, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1579, - "end": 1617, + "start": 1591, + "end": 1629, "loc": { "start": { - "line": 56, + "line": 57, "column": 10 }, "end": { - "line": 56, + "line": 57, "column": 48 } }, "id": { "type": "Identifier", - "start": 1579, - "end": 1583, + "start": 1591, + "end": 1595, "loc": { "start": { - "line": 56, + "line": 57, "column": 10 }, "end": { - "line": 56, + "line": 57, "column": 14 }, "identifierName": "demo" @@ -4613,29 +4664,29 @@ }, "init": { "type": "CallExpression", - "start": 1586, - "end": 1617, + "start": 1598, + "end": 1629, "loc": { "start": { - "line": 56, + "line": 57, "column": 17 }, "end": { - "line": 56, + "line": 57, "column": 48 } }, "callee": { "type": "Identifier", - "start": 1586, - "end": 1598, + "start": 1598, + "end": 1610, "loc": { "start": { - "line": 56, + "line": 57, "column": 17 }, "end": { - "line": 56, + "line": 57, "column": 29 }, "identifierName": "readFileSync" @@ -4645,15 +4696,15 @@ "arguments": [ { "type": "Identifier", - "start": 1599, - "end": 1607, + "start": 1611, + "end": 1619, "loc": { "start": { - "line": 56, + "line": 57, "column": 30 }, "end": { - "line": 56, + "line": 57, "column": 38 }, "identifierName": "demoPath" @@ -4662,15 +4713,15 @@ }, { "type": "StringLiteral", - "start": 1609, - "end": 1616, + "start": 1621, + "end": 1628, "loc": { "start": { - "line": 56, + "line": 57, "column": 40 }, "end": { - "line": 56, + "line": 57, "column": 47 } }, @@ -4688,29 +4739,29 @@ }, { "type": "IfStatement", - "start": 1625, - "end": 1810, + "start": 1637, + "end": 1822, "loc": { "start": { - "line": 57, + "line": 58, "column": 6 }, "end": { - "line": 60, + "line": 61, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 1629, - "end": 1664, + "start": 1641, + "end": 1676, "loc": { "start": { - "line": 57, + "line": 58, "column": 10 }, "end": { - "line": 57, + "line": 58, "column": 45 } }, @@ -4718,43 +4769,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1630, - "end": 1664, + "start": 1642, + "end": 1676, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 1630, - "end": 1643, + "start": 1642, + "end": 1655, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 24 } }, "object": { "type": "Identifier", - "start": 1630, - "end": 1634, + "start": 1642, + "end": 1646, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 15 }, "identifierName": "demo" @@ -4763,15 +4814,15 @@ }, "property": { "type": "Identifier", - "start": 1635, - "end": 1643, + "start": 1647, + "end": 1655, "loc": { "start": { - "line": 57, + "line": 58, "column": 16 }, "end": { - "line": 57, + "line": 58, "column": 24 }, "identifierName": "includes" @@ -4783,15 +4834,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1644, - "end": 1663, + "start": 1656, + "end": 1675, "loc": { "start": { - "line": 57, + "line": 58, "column": 25 }, "end": { - "line": 57, + "line": 58, "column": 44 } }, @@ -4809,59 +4860,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1666, - "end": 1810, + "start": 1678, + "end": 1822, "loc": { "start": { - "line": 57, + "line": 58, "column": 47 }, "end": { - "line": 60, + "line": 61, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1676, - "end": 1763, + "start": 1688, + "end": 1775, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 95 } }, "expression": { "type": "AssignmentExpression", - "start": 1676, - "end": 1762, + "start": 1688, + "end": 1774, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 94 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1676, - "end": 1680, + "start": 1688, + "end": 1692, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 12 }, "identifierName": "demo" @@ -4870,43 +4921,43 @@ }, "right": { "type": "CallExpression", - "start": 1683, - "end": 1762, + "start": 1695, + "end": 1774, "loc": { "start": { - "line": 58, + "line": 59, "column": 15 }, "end": { - "line": 58, + "line": 59, "column": 94 } }, "callee": { "type": "MemberExpression", - "start": 1683, - "end": 1695, + "start": 1695, + "end": 1707, "loc": { "start": { - "line": 58, + "line": 59, "column": 15 }, "end": { - "line": 58, + "line": 59, "column": 27 } }, "object": { "type": "Identifier", - "start": 1683, - "end": 1687, + "start": 1695, + "end": 1699, "loc": { "start": { - "line": 58, + "line": 59, "column": 15 }, "end": { - "line": 58, + "line": 59, "column": 19 }, "identifierName": "demo" @@ -4915,15 +4966,15 @@ }, "property": { "type": "Identifier", - "start": 1688, - "end": 1695, + "start": 1700, + "end": 1707, "loc": { "start": { - "line": 58, + "line": 59, "column": 20 }, "end": { - "line": 58, + "line": 59, "column": 27 }, "identifierName": "replace" @@ -4935,15 +4986,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1696, - "end": 1705, + "start": 1708, + "end": 1717, "loc": { "start": { - "line": 58, + "line": 59, "column": 28 }, "end": { - "line": 58, + "line": 59, "column": 37 } }, @@ -4955,15 +5006,15 @@ }, { "type": "StringLiteral", - "start": 1707, - "end": 1761, + "start": 1719, + "end": 1773, "loc": { "start": { - "line": 58, + "line": 59, "column": 39 }, "end": { - "line": 58, + "line": 59, "column": 93 } }, @@ -4979,43 +5030,43 @@ }, { "type": "ExpressionStatement", - "start": 1772, - "end": 1802, + "start": 1784, + "end": 1814, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 1772, - "end": 1801, + "start": 1784, + "end": 1813, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 37 } }, "callee": { "type": "Identifier", - "start": 1772, - "end": 1785, + "start": 1784, + "end": 1797, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 21 }, "identifierName": "writeFileSync" @@ -5025,15 +5076,15 @@ "arguments": [ { "type": "Identifier", - "start": 1786, - "end": 1794, + "start": 1798, + "end": 1806, "loc": { "start": { - "line": 59, + "line": 60, "column": 22 }, "end": { - "line": 59, + "line": 60, "column": 30 }, "identifierName": "demoPath" @@ -5042,15 +5093,15 @@ }, { "type": "Identifier", - "start": 1796, - "end": 1800, + "start": 1808, + "end": 1812, "loc": { "start": { - "line": 59, + "line": 60, "column": 32 }, "end": { - "line": 59, + "line": 60, "column": 36 }, "identifierName": "demo" @@ -5076,30 +5127,30 @@ }, { "type": "ClassMethod", - "start": 1824, - "end": 2246, + "start": 1836, + "end": 2383, "loc": { "start": { - "line": 64, + "line": 65, "column": 2 }, "end": { - "line": 76, + "line": 83, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1824, - "end": 1833, + "start": 1836, + "end": 1845, "loc": { "start": { - "line": 64, + "line": 65, "column": 2 }, "end": { - "line": 64, + "line": 65, "column": 11 }, "identifierName": "runWorker" @@ -5115,15 +5166,15 @@ "params": [ { "type": "Identifier", - "start": 1834, - "end": 1838, + "start": 1846, + "end": 1850, "loc": { "start": { - "line": 64, + "line": 65, "column": 12 }, "end": { - "line": 64, + "line": 65, "column": 16 }, "identifierName": "task" @@ -5132,15 +5183,15 @@ }, { "type": "Identifier", - "start": 1840, - "end": 1846, + "start": 1852, + "end": 1858, "loc": { "start": { - "line": 64, + "line": 65, "column": 18 }, "end": { - "line": 64, + "line": 65, "column": 24 }, "identifierName": "config" @@ -5150,120 +5201,66 @@ ], "body": { "type": "BlockStatement", - "start": 1848, - "end": 2246, + "start": 1860, + "end": 2383, "loc": { "start": { - "line": 64, + "line": 65, "column": 26 }, "end": { - "line": 76, + "line": 83, "column": 3 } }, "body": [ { - "type": "VariableDeclaration", - "start": 1854, - "end": 1865, - "loc": { - "start": { - "line": 65, - "column": 4 - }, - "end": { - "line": 65, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1858, - "end": 1864, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 1858, - "end": 1864, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 14 - }, - "identifierName": "worker" - }, - "name": "worker" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 1870, - "end": 1935, + "type": "IfStatement", + "start": 1866, + "end": 1934, "loc": { "start": { "line": 66, "column": 4 }, "end": { - "line": 66, - "column": 69 + "line": 69, + "column": 5 } }, - "expression": { - "type": "AssignmentExpression", + "test": { + "type": "MemberExpression", "start": 1870, - "end": 1934, + "end": 1879, "loc": { "start": { "line": 66, - "column": 4 + "column": 8 }, "end": { "line": 66, - "column": 68 + "column": 17 } }, - "operator": "=", - "left": { - "type": "Identifier", + "object": { + "type": "ThisExpression", "start": 1870, - "end": 1876, + "end": 1874, "loc": { "start": { "line": 66, - "column": 4 + "column": 8 }, "end": { "line": 66, - "column": 10 - }, - "identifierName": "worker" - }, - "name": "worker" + "column": 12 + } + } }, - "right": { - "type": "CallExpression", - "start": 1879, - "end": 1934, + "property": { + "type": "Identifier", + "start": 1875, + "end": 1879, "loc": { "start": { "line": 66, @@ -5271,325 +5268,681 @@ }, "end": { "line": 66, - "column": 68 - } + "column": 17 + }, + "identifierName": "busy" }, - "callee": { - "type": "Identifier", - "start": 1879, - "end": 1883, + "name": "busy" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1881, + "end": 1934, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 69, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1889, + "end": 1903, "loc": { "start": { - "line": 66, - "column": 13 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 17 - }, - "identifierName": "fork" + "line": 67, + "column": 20 + } }, - "name": "fork" - }, - "arguments": [ - { + "expression": { "type": "CallExpression", - "start": 1884, - "end": 1933, + "start": 1889, + "end": 1902, "loc": { "start": { - "line": 66, - "column": 18 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 67 + "line": 67, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1884, - "end": 1893, + "start": 1889, + "end": 1900, "loc": { "start": { - "line": 66, - "column": 18 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 27 + "line": 67, + "column": 17 } }, "object": { "type": "Identifier", - "start": 1884, - "end": 1888, + "start": 1889, + "end": 1895, "loc": { "start": { - "line": 66, - "column": 18 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 22 + "line": 67, + "column": 12 }, - "identifierName": "path" + "identifierName": "worker" }, - "name": "path" + "name": "worker" }, "property": { "type": "Identifier", - "start": 1889, - "end": 1893, + "start": 1896, + "end": 1900, "loc": { "start": { - "line": 66, - "column": 23 + "line": 67, + "column": 13 }, "end": { - "line": 66, - "column": 27 + "line": 67, + "column": 17 }, - "identifierName": "join" + "identifierName": "kill" }, - "name": "join" + "name": "kill" }, "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 1894, - "end": 1903, - "loc": { - "start": { - "line": 66, - "column": 28 - }, - "end": { - "line": 66, - "column": 37 - }, - "identifierName": "__dirname" - }, - "name": "__dirname" + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 1910, + "end": 1928, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1910, + "end": 1927, + "loc": { + "start": { + "line": 68, + "column": 6 }, - { - "type": "StringLiteral", - "start": 1905, - "end": 1932, + "end": { + "line": 68, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1910, + "end": 1919, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1910, + "end": 1914, "loc": { "start": { - "line": 66, - "column": 39 + "line": 68, + "column": 6 }, "end": { - "line": 66, - "column": 66 + "line": 68, + "column": 10 } + } + }, + "property": { + "type": "Identifier", + "start": 1915, + "end": 1919, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 15 + }, + "identifierName": "busy" }, - "extra": { - "rawValue": "workers/watcher-worker.js", - "raw": "'workers/watcher-worker.js'" + "name": "busy" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 1922, + "end": 1927, + "loc": { + "start": { + "line": 68, + "column": 18 }, - "value": "workers/watcher-worker.js" - } - ] + "end": { + "line": 68, + "column": 23 + } + }, + "value": false + } } - ] - } - } + } + ], + "directives": [] + }, + "alternate": null }, { "type": "ExpressionStatement", - "start": 1940, - "end": 2195, + "start": 1939, + "end": 1956, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 74, - "column": 7 + "line": 70, + "column": 21 } }, "expression": { - "type": "CallExpression", - "start": 1940, - "end": 2194, + "type": "AssignmentExpression", + "start": 1939, + "end": 1955, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 74, - "column": 6 + "line": 70, + "column": 20 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 1940, - "end": 1949, + "start": 1939, + "end": 1948, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 67, + "line": 70, "column": 13 } }, "object": { - "type": "Identifier", - "start": 1940, - "end": 1946, + "type": "ThisExpression", + "start": 1939, + "end": 1943, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 67, - "column": 10 - }, - "identifierName": "worker" - }, - "name": "worker" + "line": 70, + "column": 8 + } + } }, "property": { "type": "Identifier", - "start": 1947, - "end": 1949, + "start": 1944, + "end": 1948, "loc": { "start": { - "line": 67, - "column": 11 + "line": 70, + "column": 9 }, "end": { - "line": 67, + "line": 70, "column": 13 }, - "identifierName": "on" + "identifierName": "busy" }, - "name": "on" + "name": "busy" }, "computed": false }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1950, - "end": 1959, - "loc": { - "start": { - "line": 67, - "column": 14 - }, - "end": { - "line": 67, - "column": 23 - } + "right": { + "type": "BooleanLiteral", + "start": 1951, + "end": 1955, + "loc": { + "start": { + "line": 70, + "column": 16 }, - "extra": { - "rawValue": "message", - "raw": "'message'" + "end": { + "line": 70, + "column": 20 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 1961, + "end": 2026, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1961, + "end": 2025, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1961, + "end": 1967, + "loc": { + "start": { + "line": 71, + "column": 4 }, - "value": "message" + "end": { + "line": 71, + "column": 10 + }, + "identifierName": "worker" }, - { - "type": "ArrowFunctionExpression", - "start": 1961, - "end": 2193, + "name": "worker" + }, + "right": { + "type": "CallExpression", + "start": 1970, + "end": 2025, + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 68 + } + }, + "callee": { + "type": "Identifier", + "start": 1970, + "end": 1974, "loc": { "start": { - "line": 67, - "column": 25 + "line": 71, + "column": 13 }, "end": { - "line": 74, - "column": 5 - } + "line": 71, + "column": 17 + }, + "identifierName": "fork" }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1961, - "end": 1968, - "loc": { - "start": { - "line": 67, - "column": 25 - }, - "end": { - "line": 67, - "column": 32 - }, - "identifierName": "message" - }, - "name": "message" - } - ], - "body": { - "type": "BlockStatement", - "start": 1972, - "end": 2193, + "name": "fork" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1975, + "end": 2024, "loc": { "start": { - "line": 67, - "column": 36 + "line": 71, + "column": 18 }, "end": { - "line": 74, - "column": 5 + "line": 71, + "column": 67 } }, - "body": [ - { - "type": "IfStatement", - "start": 1980, - "end": 2082, + "callee": { + "type": "MemberExpression", + "start": 1975, + "end": 1984, + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1975, + "end": 1979, "loc": { "start": { - "line": 68, - "column": 6 + "line": 71, + "column": 18 }, "end": { "line": 71, - "column": 7 - } + "column": 22 + }, + "identifierName": "path" }, - "test": { - "type": "BinaryExpression", - "start": 1984, - "end": 2002, - "loc": { - "start": { - "line": 68, - "column": 10 - }, - "end": { - "line": 68, - "column": 28 - } + "name": "path" + }, + "property": { + "type": "Identifier", + "start": 1980, + "end": 1984, + "loc": { + "start": { + "line": 71, + "column": 23 }, - "left": { - "type": "Identifier", - "start": 1984, - "end": 1991, + "end": { + "line": 71, + "column": 27 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1985, + "end": 1994, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 37 + }, + "identifierName": "__dirname" + }, + "name": "__dirname" + }, + { + "type": "StringLiteral", + "start": 1996, + "end": 2023, + "loc": { + "start": { + "line": 71, + "column": 39 + }, + "end": { + "line": 71, + "column": 66 + } + }, + "extra": { + "rawValue": "workers/watcher-worker.js", + "raw": "'workers/watcher-worker.js'" + }, + "value": "workers/watcher-worker.js" + } + ] + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2031, + "end": 2332, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 81, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 2031, + "end": 2331, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 81, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2031, + "end": 2040, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 2031, + "end": 2037, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 10 + }, + "identifierName": "worker" + }, + "name": "worker" + }, + "property": { + "type": "Identifier", + "start": 2038, + "end": 2040, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 13 + }, + "identifierName": "on" + }, + "name": "on" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2041, + "end": 2050, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 23 + } + }, + "extra": { + "rawValue": "message", + "raw": "'message'" + }, + "value": "message" + }, + { + "type": "ArrowFunctionExpression", + "start": 2052, + "end": 2330, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2052, + "end": 2059, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 72, + "column": 32 + }, + "identifierName": "message" + }, + "name": "message" + } + ], + "body": { + "type": "BlockStatement", + "start": 2063, + "end": 2330, + "loc": { + "start": { + "line": 72, + "column": 36 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 2071, + "end": 2173, + "loc": { + "start": { + "line": 73, + "column": 6 + }, + "end": { + "line": 76, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2075, + "end": 2093, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 2075, + "end": 2082, "loc": { "start": { - "line": 68, + "line": 73, "column": 10 }, "end": { - "line": 68, + "line": 73, "column": 17 }, "identifierName": "message" @@ -5599,15 +5952,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1996, - "end": 2002, + "start": 2087, + "end": 2093, "loc": { "start": { - "line": 68, + "line": 73, "column": 22 }, "end": { - "line": 68, + "line": 73, "column": 28 } }, @@ -5620,87 +5973,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 2004, - "end": 2082, + "start": 2095, + "end": 2173, "loc": { "start": { - "line": 68, + "line": 73, "column": 30 }, "end": { - "line": 71, + "line": 76, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2014, - "end": 2046, + "start": 2105, + "end": 2137, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 2014, - "end": 2045, + "start": 2105, + "end": 2136, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 2014, - "end": 2032, + "start": 2105, + "end": 2123, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2014, - "end": 2018, + "start": 2105, + "end": 2109, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2019, - "end": 2032, + "start": 2110, + "end": 2123, "loc": { "start": { - "line": 69, + "line": 74, "column": 13 }, "end": { - "line": 69, + "line": 74, "column": 26 }, "identifierName": "configureDemo" @@ -5712,44 +6065,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2033, - "end": 2044, + "start": 2124, + "end": 2135, "loc": { "start": { - "line": 69, + "line": 74, "column": 27 }, "end": { - "line": 69, + "line": 74, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 2033, - "end": 2037, + "start": 2124, + "end": 2128, "loc": { "start": { - "line": 69, + "line": 74, "column": 27 }, "end": { - "line": 69, + "line": 74, "column": 31 } } }, "property": { "type": "Identifier", - "start": 2038, - "end": 2044, + "start": 2129, + "end": 2135, "loc": { "start": { - "line": 69, + "line": 74, "column": 32 }, "end": { - "line": 69, + "line": 74, "column": 38 }, "identifierName": "server" @@ -5763,44 +6116,44 @@ }, { "type": "ExpressionStatement", - "start": 2055, - "end": 2074, + "start": 2146, + "end": 2165, "loc": { "start": { - "line": 70, + "line": 75, "column": 8 }, "end": { - "line": 70, + "line": 75, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2055, - "end": 2073, + "start": 2146, + "end": 2164, "loc": { "start": { - "line": 70, + "line": 75, "column": 8 }, "end": { - "line": 70, + "line": 75, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2055, - "end": 2062, + "start": 2146, + "end": 2153, "loc": { "start": { - "line": 70, + "line": 75, "column": 8 }, "end": { - "line": 70, + "line": 75, "column": 15 }, "identifierName": "message" @@ -5809,15 +6162,15 @@ }, "right": { "type": "StringLiteral", - "start": 2065, - "end": 2073, + "start": 2156, + "end": 2164, "loc": { "start": { - "line": 70, + "line": 75, "column": 18 }, "end": { - "line": 70, + "line": 75, "column": 26 } }, @@ -5836,57 +6189,57 @@ }, { "type": "ExpressionStatement", - "start": 2089, - "end": 2161, + "start": 2180, + "end": 2252, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 78 } }, "expression": { "type": "CallExpression", - "start": 2089, - "end": 2160, + "start": 2180, + "end": 2251, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 2089, - "end": 2099, + "start": 2180, + "end": 2190, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 16 } }, "object": { "type": "Identifier", - "start": 2089, - "end": 2095, + "start": 2180, + "end": 2186, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 12 }, "identifierName": "logger" @@ -5895,15 +6248,15 @@ }, "property": { "type": "Identifier", - "start": 2096, - "end": 2099, + "start": 2187, + "end": 2190, "loc": { "start": { - "line": 72, + "line": 77, "column": 13 }, "end": { - "line": 72, + "line": 77, "column": 16 }, "identifierName": "log" @@ -5915,44 +6268,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 2100, - "end": 2159, + "start": 2191, + "end": 2250, "loc": { "start": { - "line": 72, + "line": 77, "column": 17 }, "end": { - "line": 72, + "line": 77, "column": 76 } }, "expressions": [ { "type": "CallExpression", - "start": 2104, - "end": 2110, + "start": 2195, + "end": 2201, "loc": { "start": { - "line": 72, + "line": 77, "column": 21 }, "end": { - "line": 72, + "line": 77, "column": 27 } }, "callee": { "type": "Identifier", - "start": 2104, - "end": 2108, + "start": 2195, + "end": 2199, "loc": { "start": { - "line": 72, + "line": 77, "column": 21 }, "end": { - "line": 72, + "line": 77, "column": 25 }, "identifierName": "time" @@ -5963,43 +6316,43 @@ }, { "type": "CallExpression", - "start": 2115, - "end": 2157, + "start": 2206, + "end": 2248, "loc": { "start": { - "line": 72, + "line": 77, "column": 32 }, "end": { - "line": 72, + "line": 77, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 2115, - "end": 2128, + "start": 2206, + "end": 2219, "loc": { "start": { - "line": 72, + "line": 77, "column": 32 }, "end": { - "line": 72, + "line": 77, "column": 45 } }, "object": { "type": "Identifier", - "start": 2115, - "end": 2121, + "start": 2206, + "end": 2212, "loc": { "start": { - "line": 72, + "line": 77, "column": 32 }, "end": { - "line": 72, + "line": 77, "column": 38 }, "identifierName": "logger" @@ -6008,15 +6361,15 @@ }, "property": { "type": "Identifier", - "start": 2122, - "end": 2128, + "start": 2213, + "end": 2219, "loc": { "start": { - "line": 72, + "line": 77, "column": 39 }, "end": { - "line": 72, + "line": 77, "column": 45 }, "identifierName": "_chalk" @@ -6028,15 +6381,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2129, - "end": 2148, + "start": 2220, + "end": 2239, "loc": { "start": { - "line": 72, + "line": 77, "column": 46 }, "end": { - "line": 72, + "line": 77, "column": 65 } }, @@ -6048,15 +6401,15 @@ }, { "type": "StringLiteral", - "start": 2150, - "end": 2156, + "start": 2241, + "end": 2247, "loc": { "start": { - "line": 72, + "line": 77, "column": 67 }, "end": { - "line": 72, + "line": 77, "column": 73 } }, @@ -6072,15 +6425,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 2101, - "end": 2102, + "start": 2192, + "end": 2193, "loc": { "start": { - "line": 72, + "line": 77, "column": 18 }, "end": { - "line": 72, + "line": 77, "column": 19 } }, @@ -6092,15 +6445,15 @@ }, { "type": "TemplateElement", - "start": 2111, - "end": 2113, + "start": 2202, + "end": 2204, "loc": { "start": { - "line": 72, + "line": 77, "column": 28 }, "end": { - "line": 72, + "line": 77, "column": 30 } }, @@ -6112,15 +6465,15 @@ }, { "type": "TemplateElement", - "start": 2158, - "end": 2158, + "start": 2249, + "end": 2249, "loc": { "start": { - "line": 72, + "line": 77, "column": 75 }, "end": { - "line": 72, + "line": 77, "column": 75 } }, @@ -6137,72 +6490,72 @@ }, { "type": "ExpressionStatement", - "start": 2168, - "end": 2187, + "start": 2259, + "end": 2278, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 2168, - "end": 2186, + "start": 2259, + "end": 2277, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 2168, - "end": 2177, + "start": 2259, + "end": 2268, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 2168, - "end": 2172, + "start": 2259, + "end": 2263, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 10 } } }, "property": { "type": "Identifier", - "start": 2173, - "end": 2177, + "start": 2264, + "end": 2268, "loc": { "start": { - "line": 73, + "line": 78, "column": 11 }, "end": { - "line": 73, + "line": 78, "column": 15 }, "identifierName": "emit" @@ -6214,15 +6567,15 @@ "arguments": [ { "type": "Identifier", - "start": 2178, - "end": 2185, + "start": 2269, + "end": 2276, "loc": { "start": { - "line": 73, + "line": 78, "column": 16 }, "end": { - "line": 73, + "line": 78, "column": 23 }, "identifierName": "message" @@ -6231,67 +6584,243 @@ } ] } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2200, - "end": 2242, - "loc": { - "start": { - "line": 75, - "column": 4 - }, - "end": { - "line": 75, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 2200, - "end": 2241, - "loc": { - "start": { - "line": 75, - "column": 4 - }, - "end": { - "line": 75, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2200, - "end": 2211, - "loc": { - "start": { - "line": 75, - "column": 4 - }, - "end": { - "line": 75, - "column": 15 - } - }, - "object": { - "type": "Identifier", - "start": 2200, - "end": 2206, + }, + { + "type": "ExpressionStatement", + "start": 2285, + "end": 2299, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 2285, + "end": 2298, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2285, + "end": 2296, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 2285, + "end": 2291, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 12 + }, + "identifierName": "worker" + }, + "name": "worker" + }, + "property": { + "type": "Identifier", + "start": 2292, + "end": 2296, + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 17 + }, + "identifierName": "kill" + }, + "name": "kill" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2306, + "end": 2324, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2306, + "end": 2323, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2306, + "end": 2315, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2306, + "end": 2310, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2311, + "end": 2315, + "loc": { + "start": { + "line": 80, + "column": 11 + }, + "end": { + "line": 80, + "column": 15 + }, + "identifierName": "busy" + }, + "name": "busy" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 2318, + "end": 2323, + "loc": { + "start": { + "line": 80, + "column": 18 + }, + "end": { + "line": 80, + "column": 23 + } + }, + "value": false + } + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 2337, + "end": 2379, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 46 + } + }, + "expression": { + "type": "CallExpression", + "start": 2337, + "end": 2378, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 45 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2337, + "end": 2348, + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 2337, + "end": 2343, "loc": { "start": { - "line": 75, + "line": 82, "column": 4 }, "end": { - "line": 75, + "line": 82, "column": 10 }, "identifierName": "worker" @@ -6300,15 +6829,15 @@ }, "property": { "type": "Identifier", - "start": 2207, - "end": 2211, + "start": 2344, + "end": 2348, "loc": { "start": { - "line": 75, + "line": 82, "column": 11 }, "end": { - "line": 75, + "line": 82, "column": 15 }, "identifierName": "send" @@ -6320,30 +6849,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 2212, - "end": 2240, + "start": 2349, + "end": 2377, "loc": { "start": { - "line": 75, + "line": 82, "column": 16 }, "end": { - "line": 75, + "line": 82, "column": 44 } }, "properties": [ { "type": "ObjectProperty", - "start": 2213, - "end": 2223, + "start": 2350, + "end": 2360, "loc": { "start": { - "line": 75, + "line": 82, "column": 17 }, "end": { - "line": 75, + "line": 82, "column": 27 } }, @@ -6352,15 +6881,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2213, - "end": 2217, + "start": 2350, + "end": 2354, "loc": { "start": { - "line": 75, + "line": 82, "column": 17 }, "end": { - "line": 75, + "line": 82, "column": 21 }, "identifierName": "task" @@ -6369,15 +6898,15 @@ }, "value": { "type": "Identifier", - "start": 2219, - "end": 2223, + "start": 2356, + "end": 2360, "loc": { "start": { - "line": 75, + "line": 82, "column": 23 }, "end": { - "line": 75, + "line": 82, "column": 27 }, "identifierName": "task" @@ -6387,15 +6916,15 @@ }, { "type": "ObjectProperty", - "start": 2225, - "end": 2239, + "start": 2362, + "end": 2376, "loc": { "start": { - "line": 75, + "line": 82, "column": 29 }, "end": { - "line": 75, + "line": 82, "column": 43 } }, @@ -6404,15 +6933,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2225, - "end": 2231, + "start": 2362, + "end": 2368, "loc": { "start": { - "line": 75, + "line": 82, "column": 29 }, "end": { - "line": 75, + "line": 82, "column": 35 }, "identifierName": "config" @@ -6421,15 +6950,15 @@ }, "value": { "type": "Identifier", - "start": 2233, - "end": 2239, + "start": 2370, + "end": 2376, "loc": { "start": { - "line": 75, + "line": 82, "column": 37 }, "end": { - "line": 75, + "line": 82, "column": 43 }, "identifierName": "config" @@ -6450,15 +6979,15 @@ { "type": "CommentLine", "value": " on(event, fn) {", - "start": 2250, - "end": 2268, + "start": 2387, + "end": 2405, "loc": { "start": { - "line": 78, + "line": 85, "column": 2 }, "end": { - "line": 78, + "line": 85, "column": 20 } } @@ -6466,15 +6995,15 @@ { "type": "CommentLine", "value": " this.on(event, fn);", - "start": 2271, - "end": 2295, + "start": 2408, + "end": 2432, "loc": { "start": { - "line": 79, + "line": 86, "column": 2 }, "end": { - "line": 79, + "line": 86, "column": 26 } } @@ -6482,15 +7011,15 @@ { "type": "CommentLine", "value": " }", - "start": 2298, - "end": 2302, + "start": 2435, + "end": 2439, "loc": { "start": { - "line": 80, + "line": 87, "column": 2 }, "end": { - "line": 80, + "line": 87, "column": 6 } } @@ -6498,15 +7027,15 @@ { "type": "CommentLine", "value": " this.watcher = chokidar.watch(config.watchers, config.options);", - "start": 2308, - "end": 2374, + "start": 2445, + "end": 2511, "loc": { "start": { - "line": 82, + "line": 89, "column": 4 }, "end": { - "line": 82, + "line": 89, "column": 70 } } @@ -6514,15 +7043,15 @@ { "type": "CommentLine", "value": " this.watcher.on('change', path => logger.log(`File ${path} has been changed`));", - "start": 2379, - "end": 2461, + "start": 2516, + "end": 2598, "loc": { "start": { - "line": 83, + "line": 90, "column": 4 }, "end": { - "line": 83, + "line": 90, "column": 86 } } @@ -6537,43 +7066,43 @@ }, { "type": "Identifier", - "start": 2464, - "end": 2493, + "start": 2601, + "end": 2630, "loc": { "start": { - "line": 85, + "line": 92, "column": 0 }, "end": { - "line": 85, + "line": 92, "column": 29 } }, "declaration": { "type": "NewExpression", - "start": 2479, - "end": 2492, + "start": 2616, + "end": 2629, "loc": { "start": { - "line": 85, + "line": 92, "column": 15 }, "end": { - "line": 85, + "line": 92, "column": 28 } }, "callee": { "type": "Identifier", - "start": 2483, - "end": 2490, + "start": 2620, + "end": 2627, "loc": { "start": { - "line": 85, + "line": 92, "column": 19 }, "end": { - "line": 85, + "line": 92, "column": 26 }, "identifierName": "Watcher" @@ -6588,43 +7117,43 @@ }, { "type": "ExportDefaultDeclaration", - "start": 2464, - "end": 2493, + "start": 2601, + "end": 2630, "loc": { "start": { - "line": 85, + "line": 92, "column": 0 }, "end": { - "line": 85, + "line": 92, "column": 29 } }, "declaration": { "type": "ClassDeclaration", - "start": 395, - "end": 2463, + "start": 407, + "end": 2600, "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 84, + "line": 91, "column": 1 } }, "id": { "type": "Identifier", - "start": 401, - "end": 408, + "start": 413, + "end": 420, "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 13 }, "identifierName": "Watcher" @@ -6634,15 +7163,15 @@ }, "superClass": { "type": "Identifier", - "start": 417, - "end": 429, + "start": 429, + "end": 441, "loc": { "start": { - "line": 16, + "line": 17, "column": 22 }, "end": { - "line": 16, + "line": 17, "column": 34 }, "identifierName": "EventEmitter" @@ -6651,45 +7180,45 @@ }, "body": { "type": "ClassBody", - "start": 430, - "end": 2463, + "start": 442, + "end": 2600, "loc": { "start": { - "line": 16, + "line": 17, "column": 35 }, "end": { - "line": 84, + "line": 91, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 490, - "end": 1277, + "start": 502, + "end": 1289, "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 45, + "line": 46, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 490, - "end": 495, + "start": 502, + "end": 507, "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 7 }, "identifierName": "watch" @@ -6706,15 +7235,15 @@ "params": [ { "type": "Identifier", - "start": 496, - "end": 502, + "start": 508, + "end": 514, "loc": { "start": { - "line": 21, + "line": 22, "column": 8 }, "end": { - "line": 21, + "line": 22, "column": 14 }, "identifierName": "config" @@ -6724,58 +7253,58 @@ ], "body": { "type": "BlockStatement", - "start": 504, - "end": 1277, + "start": 516, + "end": 1289, "loc": { "start": { - "line": 21, + "line": 22, "column": 16 }, "end": { - "line": 45, + "line": 46, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 510, - "end": 1273, + "start": 522, + "end": 1285, "loc": { "start": { - "line": 22, + "line": 23, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 7 } }, "argument": { "type": "NewExpression", - "start": 517, - "end": 1272, + "start": 529, + "end": 1284, "loc": { "start": { - "line": 22, + "line": 23, "column": 11 }, "end": { - "line": 44, + "line": 45, "column": 6 } }, "callee": { "type": "Identifier", - "start": 521, - "end": 528, + "start": 533, + "end": 540, "loc": { "start": { - "line": 22, + "line": 23, "column": 15 }, "end": { - "line": 22, + "line": 23, "column": 22 }, "identifierName": "Promise" @@ -6785,15 +7314,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 529, - "end": 1271, + "start": 541, + "end": 1283, "loc": { "start": { - "line": 22, + "line": 23, "column": 23 }, "end": { - "line": 44, + "line": 45, "column": 5 } }, @@ -6804,15 +7333,15 @@ "params": [ { "type": "Identifier", - "start": 530, - "end": 537, + "start": 542, + "end": 549, "loc": { "start": { - "line": 22, + "line": 23, "column": 24 }, "end": { - "line": 22, + "line": 23, "column": 31 }, "identifierName": "resolve" @@ -6821,15 +7350,15 @@ }, { "type": "Identifier", - "start": 539, - "end": 545, + "start": 551, + "end": 557, "loc": { "start": { - "line": 22, + "line": 23, "column": 33 }, "end": { - "line": 22, + "line": 23, "column": 39 }, "identifierName": "reject" @@ -6839,44 +7368,44 @@ ], "body": { "type": "BlockStatement", - "start": 550, - "end": 1271, + "start": 562, + "end": 1283, "loc": { "start": { - "line": 22, + "line": 23, "column": 44 }, "end": { - "line": 44, + "line": 45, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 558, - "end": 715, + "start": 570, + "end": 727, "loc": { "start": { - "line": 23, + "line": 24, "column": 6 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 562, - "end": 575, + "start": 574, + "end": 587, "loc": { "start": { - "line": 23, + "line": 24, "column": 10 }, "end": { - "line": 23, + "line": 24, "column": 23 } }, @@ -6884,29 +7413,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 563, - "end": 575, + "start": 575, + "end": 587, "loc": { "start": { - "line": 23, + "line": 24, "column": 11 }, "end": { - "line": 23, + "line": 24, "column": 23 } }, "object": { "type": "Identifier", - "start": 563, - "end": 569, + "start": 575, + "end": 581, "loc": { "start": { - "line": 23, + "line": 24, "column": 11 }, "end": { - "line": 23, + "line": 24, "column": 17 }, "identifierName": "config" @@ -6915,15 +7444,15 @@ }, "property": { "type": "Identifier", - "start": 570, - "end": 575, + "start": 582, + "end": 587, "loc": { "start": { - "line": 23, + "line": 24, "column": 18 }, "end": { - "line": 23, + "line": 24, "column": 23 }, "identifierName": "watch" @@ -6938,72 +7467,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 577, - "end": 715, + "start": 589, + "end": 727, "loc": { "start": { - "line": 23, + "line": 24, "column": 25 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 587, - "end": 619, + "start": 599, + "end": 631, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 587, - "end": 618, + "start": 599, + "end": 630, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 587, - "end": 598, + "start": 599, + "end": 610, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 19 } }, "object": { "type": "Identifier", - "start": 587, - "end": 593, + "start": 599, + "end": 605, "loc": { "start": { - "line": 24, + "line": 25, "column": 8 }, "end": { - "line": 24, + "line": 25, "column": 14 }, "identifierName": "logger" @@ -7012,15 +7541,15 @@ }, "property": { "type": "Identifier", - "start": 594, - "end": 598, + "start": 606, + "end": 610, "loc": { "start": { - "line": 24, + "line": 25, "column": 15 }, "end": { - "line": 24, + "line": 25, "column": 19 }, "identifierName": "warn" @@ -7032,15 +7561,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 599, - "end": 617, + "start": 611, + "end": 629, "loc": { "start": { - "line": 24, + "line": 25, "column": 20 }, "end": { - "line": 24, + "line": 25, "column": 38 } }, @@ -7055,43 +7584,43 @@ }, { "type": "ExpressionStatement", - "start": 628, - "end": 655, + "start": 640, + "end": 667, "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 25, + "line": 26, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 628, - "end": 654, + "start": 640, + "end": 666, "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 25, + "line": 26, "column": 34 } }, "callee": { "type": "Identifier", - "start": 628, - "end": 634, + "start": 640, + "end": 646, "loc": { "start": { - "line": 25, + "line": 26, "column": 8 }, "end": { - "line": 25, + "line": 26, "column": 14 }, "identifierName": "reject" @@ -7101,15 +7630,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 635, - "end": 653, + "start": 647, + "end": 665, "loc": { "start": { - "line": 25, + "line": 26, "column": 15 }, "end": { - "line": 25, + "line": 26, "column": 33 } }, @@ -7124,57 +7653,57 @@ }, { "type": "ReturnStatement", - "start": 664, - "end": 707, + "start": 676, + "end": 719, "loc": { "start": { - "line": 26, + "line": 27, "column": 8 }, "end": { - "line": 26, + "line": 27, "column": 51 } }, "argument": { "type": "CallExpression", - "start": 671, - "end": 706, + "start": 683, + "end": 718, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 671, - "end": 683, + "start": 683, + "end": 695, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 27 } }, "object": { "type": "Identifier", - "start": 671, - "end": 678, + "start": 683, + "end": 690, "loc": { "start": { - "line": 26, + "line": 27, "column": 15 }, "end": { - "line": 26, + "line": 27, "column": 22 }, "identifierName": "process" @@ -7183,15 +7712,15 @@ }, "property": { "type": "Identifier", - "start": 679, - "end": 683, + "start": 691, + "end": 695, "loc": { "start": { - "line": 26, + "line": 27, "column": 23 }, "end": { - "line": 26, + "line": 27, "column": 27 }, "identifierName": "kill" @@ -7203,29 +7732,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 684, - "end": 695, + "start": 696, + "end": 707, "loc": { "start": { - "line": 26, + "line": 27, "column": 28 }, "end": { - "line": 26, + "line": 27, "column": 39 } }, "object": { "type": "Identifier", - "start": 684, - "end": 691, + "start": 696, + "end": 703, "loc": { "start": { - "line": 26, + "line": 27, "column": 28 }, "end": { - "line": 26, + "line": 27, "column": 35 }, "identifierName": "process" @@ -7234,15 +7763,15 @@ }, "property": { "type": "Identifier", - "start": 692, - "end": 695, + "start": 704, + "end": 707, "loc": { "start": { - "line": 26, + "line": 27, "column": 36 }, "end": { - "line": 26, + "line": 27, "column": 39 }, "identifierName": "pid" @@ -7253,15 +7782,15 @@ }, { "type": "StringLiteral", - "start": 697, - "end": 705, + "start": 709, + "end": 717, "loc": { "start": { - "line": 26, + "line": 27, "column": 41 }, "end": { - "line": 26, + "line": 27, "column": 49 } }, @@ -7281,73 +7810,73 @@ }, { "type": "ExpressionStatement", - "start": 722, - "end": 750, + "start": 734, + "end": 762, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 722, - "end": 749, + "start": 734, + "end": 761, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 722, - "end": 733, + "start": 734, + "end": 745, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 722, - "end": 726, + "start": 734, + "end": 738, "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 10 } } }, "property": { "type": "Identifier", - "start": 727, - "end": 733, + "start": 739, + "end": 745, "loc": { "start": { - "line": 28, + "line": 29, "column": 11 }, "end": { - "line": 28, + "line": 29, "column": 17 }, "identifierName": "server" @@ -7358,29 +7887,29 @@ }, "right": { "type": "MemberExpression", - "start": 736, - "end": 749, + "start": 748, + "end": 761, "loc": { "start": { - "line": 28, + "line": 29, "column": 20 }, "end": { - "line": 28, + "line": 29, "column": 33 } }, "object": { "type": "Identifier", - "start": 736, - "end": 742, + "start": 748, + "end": 754, "loc": { "start": { - "line": 28, + "line": 29, "column": 20 }, "end": { - "line": 28, + "line": 29, "column": 26 }, "identifierName": "config" @@ -7389,15 +7918,15 @@ }, "property": { "type": "Identifier", - "start": 743, - "end": 749, + "start": 755, + "end": 761, "loc": { "start": { - "line": 28, + "line": 29, "column": 27 }, "end": { - "line": 28, + "line": 29, "column": 33 }, "identifierName": "server" @@ -7410,72 +7939,72 @@ }, { "type": "ExpressionStatement", - "start": 757, - "end": 789, + "start": 769, + "end": 801, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 757, - "end": 788, + "start": 769, + "end": 800, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 757, - "end": 775, + "start": 769, + "end": 787, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 757, - "end": 761, + "start": 769, + "end": 773, "loc": { "start": { - "line": 29, + "line": 30, "column": 6 }, "end": { - "line": 29, + "line": 30, "column": 10 } } }, "property": { "type": "Identifier", - "start": 762, - "end": 775, + "start": 774, + "end": 787, "loc": { "start": { - "line": 29, + "line": 30, "column": 11 }, "end": { - "line": 29, + "line": 30, "column": 24 }, "identifierName": "configureDemo" @@ -7487,44 +8016,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 776, - "end": 787, + "start": 788, + "end": 799, "loc": { "start": { - "line": 29, + "line": 30, "column": 25 }, "end": { - "line": 29, + "line": 30, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 776, - "end": 780, + "start": 788, + "end": 792, "loc": { "start": { - "line": 29, + "line": 30, "column": 25 }, "end": { - "line": 29, + "line": 30, "column": 29 } } }, "property": { "type": "Identifier", - "start": 781, - "end": 787, + "start": 793, + "end": 799, "loc": { "start": { - "line": 29, + "line": 30, "column": 30 }, "end": { - "line": 29, + "line": 30, "column": 36 }, "identifierName": "server" @@ -7538,57 +8067,57 @@ }, { "type": "ExpressionStatement", - "start": 797, - "end": 874, + "start": 809, + "end": 886, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 797, - "end": 873, + "start": 809, + "end": 885, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 797, - "end": 807, + "start": 809, + "end": 819, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 16 } }, "object": { "type": "Identifier", - "start": 797, - "end": 803, + "start": 809, + "end": 815, "loc": { "start": { - "line": 31, + "line": 32, "column": 6 }, "end": { - "line": 31, + "line": 32, "column": 12 }, "identifierName": "logger" @@ -7597,15 +8126,15 @@ }, "property": { "type": "Identifier", - "start": 804, - "end": 807, + "start": 816, + "end": 819, "loc": { "start": { - "line": 31, + "line": 32, "column": 13 }, "end": { - "line": 31, + "line": 32, "column": 16 }, "identifierName": "log" @@ -7617,44 +8146,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 808, - "end": 872, + "start": 820, + "end": 884, "loc": { "start": { - "line": 31, + "line": 32, "column": 17 }, "end": { - "line": 31, + "line": 32, "column": 81 } }, "expressions": [ { "type": "CallExpression", - "start": 812, - "end": 818, + "start": 824, + "end": 830, "loc": { "start": { - "line": 31, + "line": 32, "column": 21 }, "end": { - "line": 31, + "line": 32, "column": 27 } }, "callee": { "type": "Identifier", - "start": 812, - "end": 816, + "start": 824, + "end": 828, "loc": { "start": { - "line": 31, + "line": 32, "column": 21 }, "end": { - "line": 31, + "line": 32, "column": 25 }, "identifierName": "time" @@ -7665,43 +8194,43 @@ }, { "type": "CallExpression", - "start": 823, - "end": 870, + "start": 835, + "end": 882, "loc": { "start": { - "line": 31, + "line": 32, "column": 32 }, "end": { - "line": 31, + "line": 32, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 823, - "end": 836, + "start": 835, + "end": 848, "loc": { "start": { - "line": 31, + "line": 32, "column": 32 }, "end": { - "line": 31, + "line": 32, "column": 45 } }, "object": { "type": "Identifier", - "start": 823, - "end": 829, + "start": 835, + "end": 841, "loc": { "start": { - "line": 31, + "line": 32, "column": 32 }, "end": { - "line": 31, + "line": 32, "column": 38 }, "identifierName": "logger" @@ -7710,15 +8239,15 @@ }, "property": { "type": "Identifier", - "start": 830, - "end": 836, + "start": 842, + "end": 848, "loc": { "start": { - "line": 31, + "line": 32, "column": 39 }, "end": { - "line": 31, + "line": 32, "column": 45 }, "identifierName": "_chalk" @@ -7730,15 +8259,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 837, - "end": 861, + "start": 849, + "end": 873, "loc": { "start": { - "line": 31, + "line": 32, "column": 46 }, "end": { - "line": 31, + "line": 32, "column": 70 } }, @@ -7750,15 +8279,15 @@ }, { "type": "StringLiteral", - "start": 863, - "end": 869, + "start": 875, + "end": 881, "loc": { "start": { - "line": 31, + "line": 32, "column": 72 }, "end": { - "line": 31, + "line": 32, "column": 78 } }, @@ -7774,15 +8303,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 809, - "end": 810, + "start": 821, + "end": 822, "loc": { "start": { - "line": 31, + "line": 32, "column": 18 }, "end": { - "line": 31, + "line": 32, "column": 19 } }, @@ -7794,15 +8323,15 @@ }, { "type": "TemplateElement", - "start": 819, - "end": 821, + "start": 831, + "end": 833, "loc": { "start": { - "line": 31, + "line": 32, "column": 28 }, "end": { - "line": 31, + "line": 32, "column": 30 } }, @@ -7814,15 +8343,15 @@ }, { "type": "TemplateElement", - "start": 871, - "end": 871, + "start": 883, + "end": 883, "loc": { "start": { - "line": 31, + "line": 32, "column": 80 }, "end": { - "line": 31, + "line": 32, "column": 80 } }, @@ -7839,72 +8368,72 @@ }, { "type": "ExpressionStatement", - "start": 881, - "end": 904, + "start": 893, + "end": 916, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 881, - "end": 903, + "start": 893, + "end": 915, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 881, - "end": 895, + "start": 893, + "end": 907, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 881, - "end": 885, + "start": 893, + "end": 897, "loc": { "start": { - "line": 32, + "line": 33, "column": 6 }, "end": { - "line": 32, + "line": 33, "column": 10 } } }, "property": { "type": "Identifier", - "start": 886, - "end": 895, + "start": 898, + "end": 907, "loc": { "start": { - "line": 32, + "line": 33, "column": 11 }, "end": { - "line": 32, + "line": 33, "column": 20 }, "identifierName": "runWorker" @@ -7916,15 +8445,15 @@ "arguments": [ { "type": "Identifier", - "start": 896, - "end": 902, + "start": 908, + "end": 914, "loc": { "start": { - "line": 32, + "line": 33, "column": 21 }, "end": { - "line": 32, + "line": 33, "column": 27 }, "identifierName": "config" @@ -7936,57 +8465,57 @@ }, { "type": "ExpressionStatement", - "start": 912, - "end": 993, + "start": 924, + "end": 1005, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 87 } }, "expression": { "type": "CallExpression", - "start": 912, - "end": 992, + "start": 924, + "end": 1004, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 912, - "end": 922, + "start": 924, + "end": 934, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 16 } }, "object": { "type": "Identifier", - "start": 912, - "end": 918, + "start": 924, + "end": 930, "loc": { "start": { - "line": 34, + "line": 35, "column": 6 }, "end": { - "line": 34, + "line": 35, "column": 12 }, "identifierName": "logger" @@ -7995,15 +8524,15 @@ }, "property": { "type": "Identifier", - "start": 919, - "end": 922, + "start": 931, + "end": 934, "loc": { "start": { - "line": 34, + "line": 35, "column": 13 }, "end": { - "line": 34, + "line": 35, "column": 16 }, "identifierName": "log" @@ -8015,44 +8544,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 923, - "end": 991, + "start": 935, + "end": 1003, "loc": { "start": { - "line": 34, + "line": 35, "column": 17 }, "end": { - "line": 34, + "line": 35, "column": 85 } }, "expressions": [ { "type": "CallExpression", - "start": 927, - "end": 933, + "start": 939, + "end": 945, "loc": { "start": { - "line": 34, + "line": 35, "column": 21 }, "end": { - "line": 34, + "line": 35, "column": 27 } }, "callee": { "type": "Identifier", - "start": 927, - "end": 931, + "start": 939, + "end": 943, "loc": { "start": { - "line": 34, + "line": 35, "column": 21 }, "end": { - "line": 34, + "line": 35, "column": 25 }, "identifierName": "time" @@ -8063,43 +8592,43 @@ }, { "type": "CallExpression", - "start": 938, - "end": 989, + "start": 950, + "end": 1001, "loc": { "start": { - "line": 34, + "line": 35, "column": 32 }, "end": { - "line": 34, + "line": 35, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 938, - "end": 951, + "start": 950, + "end": 963, "loc": { "start": { - "line": 34, + "line": 35, "column": 32 }, "end": { - "line": 34, + "line": 35, "column": 45 } }, "object": { "type": "Identifier", - "start": 938, - "end": 944, + "start": 950, + "end": 956, "loc": { "start": { - "line": 34, + "line": 35, "column": 32 }, "end": { - "line": 34, + "line": 35, "column": 38 }, "identifierName": "logger" @@ -8108,15 +8637,15 @@ }, "property": { "type": "Identifier", - "start": 945, - "end": 951, + "start": 957, + "end": 963, "loc": { "start": { - "line": 34, + "line": 35, "column": 39 }, "end": { - "line": 34, + "line": 35, "column": 45 }, "identifierName": "_chalk" @@ -8128,15 +8657,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 952, - "end": 980, + "start": 964, + "end": 992, "loc": { "start": { - "line": 34, + "line": 35, "column": 46 }, "end": { - "line": 34, + "line": 35, "column": 74 } }, @@ -8148,15 +8677,15 @@ }, { "type": "StringLiteral", - "start": 982, - "end": 988, + "start": 994, + "end": 1000, "loc": { "start": { - "line": 34, + "line": 35, "column": 76 }, "end": { - "line": 34, + "line": 35, "column": 82 } }, @@ -8172,15 +8701,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 924, - "end": 925, + "start": 936, + "end": 937, "loc": { "start": { - "line": 34, + "line": 35, "column": 18 }, "end": { - "line": 34, + "line": 35, "column": 19 } }, @@ -8192,15 +8721,15 @@ }, { "type": "TemplateElement", - "start": 934, - "end": 936, + "start": 946, + "end": 948, "loc": { "start": { - "line": 34, + "line": 35, "column": 28 }, "end": { - "line": 34, + "line": 35, "column": 30 } }, @@ -8212,15 +8741,15 @@ }, { "type": "TemplateElement", - "start": 990, - "end": 990, + "start": 1002, + "end": 1002, "loc": { "start": { - "line": 34, + "line": 35, "column": 84 }, "end": { - "line": 34, + "line": 35, "column": 84 } }, @@ -8237,44 +8766,44 @@ }, { "type": "VariableDeclaration", - "start": 1001, - "end": 1019, + "start": 1013, + "end": 1031, "loc": { "start": { - "line": 36, + "line": 37, "column": 6 }, "end": { - "line": 36, + "line": 37, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1005, - "end": 1018, + "start": 1017, + "end": 1030, "loc": { "start": { - "line": 36, + "line": 37, "column": 10 }, "end": { - "line": 36, + "line": 37, "column": 23 } }, "id": { "type": "Identifier", - "start": 1005, - "end": 1013, + "start": 1017, + "end": 1025, "loc": { "start": { - "line": 36, + "line": 37, "column": 10 }, "end": { - "line": 36, + "line": 37, "column": 18 }, "identifierName": "watchers" @@ -8283,15 +8812,15 @@ }, "init": { "type": "ObjectExpression", - "start": 1016, - "end": 1018, + "start": 1028, + "end": 1030, "loc": { "start": { - "line": 36, + "line": 37, "column": 21 }, "end": { - "line": 36, + "line": 37, "column": 23 } }, @@ -8303,58 +8832,58 @@ }, { "type": "ForOfStatement", - "start": 1026, - "end": 1248, + "start": 1038, + "end": 1260, "loc": { "start": { - "line": 37, + "line": 38, "column": 6 }, "end": { - "line": 42, + "line": 43, "column": 7 } }, "left": { "type": "VariableDeclaration", - "start": 1031, - "end": 1040, + "start": 1043, + "end": 1052, "loc": { "start": { - "line": 37, + "line": 38, "column": 11 }, "end": { - "line": 37, + "line": 38, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1035, - "end": 1040, + "start": 1047, + "end": 1052, "loc": { "start": { - "line": 37, + "line": 38, "column": 15 }, "end": { - "line": 37, + "line": 38, "column": 20 } }, "id": { "type": "Identifier", - "start": 1035, - "end": 1040, + "start": 1047, + "end": 1052, "loc": { "start": { - "line": 37, + "line": 38, "column": 15 }, "end": { - "line": 37, + "line": 38, "column": 20 }, "identifierName": "watch" @@ -8368,29 +8897,29 @@ }, "right": { "type": "MemberExpression", - "start": 1044, - "end": 1056, + "start": 1056, + "end": 1068, "loc": { "start": { - "line": 37, + "line": 38, "column": 24 }, "end": { - "line": 37, + "line": 38, "column": 36 } }, "object": { "type": "Identifier", - "start": 1044, - "end": 1050, + "start": 1056, + "end": 1062, "loc": { "start": { - "line": 37, + "line": 38, "column": 24 }, "end": { - "line": 37, + "line": 38, "column": 30 }, "identifierName": "config" @@ -8399,15 +8928,15 @@ }, "property": { "type": "Identifier", - "start": 1051, - "end": 1056, + "start": 1063, + "end": 1068, "loc": { "start": { - "line": 37, + "line": 38, "column": 31 }, "end": { - "line": 37, + "line": 38, "column": 36 }, "identifierName": "watch" @@ -8418,73 +8947,73 @@ }, "body": { "type": "BlockStatement", - "start": 1058, - "end": 1248, + "start": 1070, + "end": 1260, "loc": { "start": { - "line": 37, + "line": 38, "column": 38 }, "end": { - "line": 42, + "line": 43, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1068, - "end": 1132, + "start": 1080, + "end": 1144, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 72 } }, "expression": { "type": "AssignmentExpression", - "start": 1068, - "end": 1131, + "start": 1080, + "end": 1143, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 71 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1068, - "end": 1088, + "start": 1080, + "end": 1100, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 28 } }, "object": { "type": "Identifier", - "start": 1068, - "end": 1076, + "start": 1080, + "end": 1088, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 16 }, "identifierName": "watchers" @@ -8493,29 +9022,29 @@ }, "property": { "type": "MemberExpression", - "start": 1077, - "end": 1087, + "start": 1089, + "end": 1099, "loc": { "start": { - "line": 38, + "line": 39, "column": 17 }, "end": { - "line": 38, + "line": 39, "column": 27 } }, "object": { "type": "Identifier", - "start": 1077, - "end": 1082, + "start": 1089, + "end": 1094, "loc": { "start": { - "line": 38, + "line": 39, "column": 17 }, "end": { - "line": 38, + "line": 39, "column": 22 }, "identifierName": "watch" @@ -8524,15 +9053,15 @@ }, "property": { "type": "Identifier", - "start": 1083, - "end": 1087, + "start": 1095, + "end": 1099, "loc": { "start": { - "line": 38, + "line": 39, "column": 23 }, "end": { - "line": 38, + "line": 39, "column": 27 }, "identifierName": "task" @@ -8545,43 +9074,43 @@ }, "right": { "type": "CallExpression", - "start": 1091, - "end": 1131, + "start": 1103, + "end": 1143, "loc": { "start": { - "line": 38, + "line": 39, "column": 31 }, "end": { - "line": 38, + "line": 39, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 1091, - "end": 1105, + "start": 1103, + "end": 1117, "loc": { "start": { - "line": 38, + "line": 39, "column": 31 }, "end": { - "line": 38, + "line": 39, "column": 45 } }, "object": { "type": "Identifier", - "start": 1091, - "end": 1099, + "start": 1103, + "end": 1111, "loc": { "start": { - "line": 38, + "line": 39, "column": 31 }, "end": { - "line": 38, + "line": 39, "column": 39 }, "identifierName": "chokidar" @@ -8590,15 +9119,15 @@ }, "property": { "type": "Identifier", - "start": 1100, - "end": 1105, + "start": 1112, + "end": 1117, "loc": { "start": { - "line": 38, + "line": 39, "column": 40 }, "end": { - "line": 38, + "line": 39, "column": 45 }, "identifierName": "watch" @@ -8610,29 +9139,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1106, - "end": 1115, + "start": 1118, + "end": 1127, "loc": { "start": { - "line": 38, + "line": 39, "column": 46 }, "end": { - "line": 38, + "line": 39, "column": 55 } }, "object": { "type": "Identifier", - "start": 1106, - "end": 1111, + "start": 1118, + "end": 1123, "loc": { "start": { - "line": 38, + "line": 39, "column": 46 }, "end": { - "line": 38, + "line": 39, "column": 51 }, "identifierName": "watch" @@ -8641,15 +9170,15 @@ }, "property": { "type": "Identifier", - "start": 1112, - "end": 1115, + "start": 1124, + "end": 1127, "loc": { "start": { - "line": 38, + "line": 39, "column": 52 }, "end": { - "line": 38, + "line": 39, "column": 55 }, "identifierName": "src" @@ -8660,29 +9189,29 @@ }, { "type": "MemberExpression", - "start": 1117, - "end": 1130, + "start": 1129, + "end": 1142, "loc": { "start": { - "line": 38, + "line": 39, "column": 57 }, "end": { - "line": 38, + "line": 39, "column": 70 } }, "object": { "type": "Identifier", - "start": 1117, - "end": 1122, + "start": 1129, + "end": 1134, "loc": { "start": { - "line": 38, + "line": 39, "column": 57 }, "end": { - "line": 38, + "line": 39, "column": 62 }, "identifierName": "watch" @@ -8691,15 +9220,15 @@ }, "property": { "type": "Identifier", - "start": 1123, - "end": 1130, + "start": 1135, + "end": 1142, "loc": { "start": { - "line": 38, + "line": 39, "column": 63 }, "end": { - "line": 38, + "line": 39, "column": 70 }, "identifierName": "options" @@ -8714,71 +9243,71 @@ }, { "type": "ExpressionStatement", - "start": 1141, - "end": 1240, + "start": 1153, + "end": 1252, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 1141, - "end": 1239, + "start": 1153, + "end": 1251, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 41, + "line": 42, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 1141, - "end": 1164, + "start": 1153, + "end": 1176, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, + "line": 40, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 1141, - "end": 1161, + "start": 1153, + "end": 1173, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, + "line": 40, "column": 28 } }, "object": { "type": "Identifier", - "start": 1141, - "end": 1149, + "start": 1153, + "end": 1161, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, + "line": 40, "column": 16 }, "identifierName": "watchers" @@ -8787,29 +9316,29 @@ }, "property": { "type": "MemberExpression", - "start": 1150, - "end": 1160, + "start": 1162, + "end": 1172, "loc": { "start": { - "line": 39, + "line": 40, "column": 17 }, "end": { - "line": 39, + "line": 40, "column": 27 } }, "object": { "type": "Identifier", - "start": 1150, - "end": 1155, + "start": 1162, + "end": 1167, "loc": { "start": { - "line": 39, + "line": 40, "column": 17 }, "end": { - "line": 39, + "line": 40, "column": 22 }, "identifierName": "watch" @@ -8818,15 +9347,15 @@ }, "property": { "type": "Identifier", - "start": 1156, - "end": 1160, + "start": 1168, + "end": 1172, "loc": { "start": { - "line": 39, + "line": 40, "column": 23 }, "end": { - "line": 39, + "line": 40, "column": 27 }, "identifierName": "task" @@ -8839,15 +9368,15 @@ }, "property": { "type": "Identifier", - "start": 1162, - "end": 1164, + "start": 1174, + "end": 1176, "loc": { "start": { - "line": 39, + "line": 40, "column": 29 }, "end": { - "line": 39, + "line": 40, "column": 31 }, "identifierName": "on" @@ -8859,15 +9388,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1165, - "end": 1173, + "start": 1177, + "end": 1185, "loc": { "start": { - "line": 39, + "line": 40, "column": 32 }, "end": { - "line": 39, + "line": 40, "column": 40 } }, @@ -8879,15 +9408,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 1175, - "end": 1238, + "start": 1187, + "end": 1250, "loc": { "start": { - "line": 39, + "line": 40, "column": 42 }, "end": { - "line": 41, + "line": 42, "column": 9 } }, @@ -8898,87 +9427,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1181, - "end": 1238, + "start": 1193, + "end": 1250, "loc": { "start": { - "line": 39, + "line": 40, "column": 48 }, "end": { - "line": 41, + "line": 42, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1193, - "end": 1228, + "start": 1205, + "end": 1240, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 1193, - "end": 1227, + "start": 1205, + "end": 1239, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1193, - "end": 1207, + "start": 1205, + "end": 1219, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 1193, - "end": 1197, + "start": 1205, + "end": 1209, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 14 } } }, "property": { "type": "Identifier", - "start": 1198, - "end": 1207, + "start": 1210, + "end": 1219, "loc": { "start": { - "line": 40, + "line": 41, "column": 15 }, "end": { - "line": 40, + "line": 41, "column": 24 }, "identifierName": "runWorker" @@ -8990,29 +9519,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1208, - "end": 1218, + "start": 1220, + "end": 1230, "loc": { "start": { - "line": 40, + "line": 41, "column": 25 }, "end": { - "line": 40, + "line": 41, "column": 35 } }, "object": { "type": "Identifier", - "start": 1208, - "end": 1213, + "start": 1220, + "end": 1225, "loc": { "start": { - "line": 40, + "line": 41, "column": 25 }, "end": { - "line": 40, + "line": 41, "column": 30 }, "identifierName": "watch" @@ -9021,15 +9550,15 @@ }, "property": { "type": "Identifier", - "start": 1214, - "end": 1218, + "start": 1226, + "end": 1230, "loc": { "start": { - "line": 40, + "line": 41, "column": 31 }, "end": { - "line": 40, + "line": 41, "column": 35 }, "identifierName": "task" @@ -9040,15 +9569,15 @@ }, { "type": "Identifier", - "start": 1220, - "end": 1226, + "start": 1232, + "end": 1238, "loc": { "start": { - "line": 40, + "line": 41, "column": 37 }, "end": { - "line": 40, + "line": 41, "column": 43 }, "identifierName": "config" @@ -9071,43 +9600,43 @@ }, { "type": "ExpressionStatement", - "start": 1255, - "end": 1265, + "start": 1267, + "end": 1277, "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 16 } }, "expression": { "type": "CallExpression", - "start": 1255, - "end": 1264, + "start": 1267, + "end": 1276, "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 15 } }, "callee": { "type": "Identifier", - "start": 1255, - "end": 1262, + "start": 1267, + "end": 1274, "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 13 }, "identifierName": "resolve" @@ -9131,15 +9660,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config {@link Config}\n ", - "start": 435, - "end": 487, + "start": 447, + "end": 499, "loc": { "start": { - "line": 18, + "line": 19, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 5 } } @@ -9148,30 +9677,30 @@ }, { "type": "ClassMethod", - "start": 1281, - "end": 1820, + "start": 1293, + "end": 1832, "loc": { "start": { - "line": 47, + "line": 48, "column": 2 }, "end": { - "line": 62, + "line": 63, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1281, - "end": 1294, + "start": 1293, + "end": 1306, "loc": { "start": { - "line": 47, + "line": 48, "column": 2 }, "end": { - "line": 47, + "line": 48, "column": 15 }, "identifierName": "configureDemo" @@ -9187,15 +9716,15 @@ "params": [ { "type": "Identifier", - "start": 1295, - "end": 1301, + "start": 1307, + "end": 1313, "loc": { "start": { - "line": 47, + "line": 48, "column": 16 }, "end": { - "line": 47, + "line": 48, "column": 22 }, "identifierName": "server" @@ -9205,72 +9734,72 @@ ], "body": { "type": "BlockStatement", - "start": 1303, - "end": 1820, + "start": 1315, + "end": 1832, "loc": { "start": { - "line": 47, + "line": 48, "column": 24 }, "end": { - "line": 62, + "line": 63, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1309, - "end": 1380, + "start": 1321, + "end": 1392, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 1309, - "end": 1379, + "start": 1321, + "end": 1391, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 1309, - "end": 1319, + "start": 1321, + "end": 1331, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 14 } }, "object": { "type": "Identifier", - "start": 1309, - "end": 1315, + "start": 1321, + "end": 1327, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 10 }, "identifierName": "logger" @@ -9279,15 +9808,15 @@ }, "property": { "type": "Identifier", - "start": 1316, - "end": 1319, + "start": 1328, + "end": 1331, "loc": { "start": { - "line": 48, + "line": 49, "column": 11 }, "end": { - "line": 48, + "line": 49, "column": 14 }, "identifierName": "log" @@ -9299,44 +9828,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 1320, - "end": 1378, + "start": 1332, + "end": 1390, "loc": { "start": { - "line": 48, + "line": 49, "column": 15 }, "end": { - "line": 48, + "line": 49, "column": 73 } }, "expressions": [ { "type": "CallExpression", - "start": 1324, - "end": 1330, + "start": 1336, + "end": 1342, "loc": { "start": { - "line": 48, + "line": 49, "column": 19 }, "end": { - "line": 48, + "line": 49, "column": 25 } }, "callee": { "type": "Identifier", - "start": 1324, - "end": 1328, + "start": 1336, + "end": 1340, "loc": { "start": { - "line": 48, + "line": 49, "column": 19 }, "end": { - "line": 48, + "line": 49, "column": 23 }, "identifierName": "time" @@ -9347,43 +9876,43 @@ }, { "type": "CallExpression", - "start": 1335, - "end": 1376, + "start": 1347, + "end": 1388, "loc": { "start": { - "line": 48, + "line": 49, "column": 30 }, "end": { - "line": 48, + "line": 49, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 1335, - "end": 1348, + "start": 1347, + "end": 1360, "loc": { "start": { - "line": 48, + "line": 49, "column": 30 }, "end": { - "line": 48, + "line": 49, "column": 43 } }, "object": { "type": "Identifier", - "start": 1335, - "end": 1341, + "start": 1347, + "end": 1353, "loc": { "start": { - "line": 48, + "line": 49, "column": 30 }, "end": { - "line": 48, + "line": 49, "column": 36 }, "identifierName": "logger" @@ -9392,15 +9921,15 @@ }, "property": { "type": "Identifier", - "start": 1342, - "end": 1348, + "start": 1354, + "end": 1360, "loc": { "start": { - "line": 48, + "line": 49, "column": 37 }, "end": { - "line": 48, + "line": 49, "column": 43 }, "identifierName": "_chalk" @@ -9412,15 +9941,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1349, - "end": 1367, + "start": 1361, + "end": 1379, "loc": { "start": { - "line": 48, + "line": 49, "column": 44 }, "end": { - "line": 48, + "line": 49, "column": 62 } }, @@ -9432,15 +9961,15 @@ }, { "type": "StringLiteral", - "start": 1369, - "end": 1375, + "start": 1381, + "end": 1387, "loc": { "start": { - "line": 48, + "line": 49, "column": 64 }, "end": { - "line": 48, + "line": 49, "column": 70 } }, @@ -9456,15 +9985,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 1321, - "end": 1322, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 48, + "line": 49, "column": 16 }, "end": { - "line": 48, + "line": 49, "column": 17 } }, @@ -9476,15 +10005,15 @@ }, { "type": "TemplateElement", - "start": 1331, - "end": 1333, + "start": 1343, + "end": 1345, "loc": { "start": { - "line": 48, + "line": 49, "column": 26 }, "end": { - "line": 48, + "line": 49, "column": 28 } }, @@ -9496,15 +10025,15 @@ }, { "type": "TemplateElement", - "start": 1377, - "end": 1377, + "start": 1389, + "end": 1389, "loc": { "start": { - "line": 48, + "line": 49, "column": 72 }, "end": { - "line": 48, + "line": 49, "column": 72 } }, @@ -9521,29 +10050,29 @@ }, { "type": "IfStatement", - "start": 1386, - "end": 1816, + "start": 1398, + "end": 1828, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 61, + "line": 62, "column": 5 } }, "test": { "type": "Identifier", - "start": 1390, - "end": 1396, + "start": 1402, + "end": 1408, "loc": { "start": { - "line": 50, + "line": 51, "column": 8 }, "end": { - "line": 50, + "line": 51, "column": 14 }, "identifierName": "server" @@ -9552,59 +10081,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1398, - "end": 1816, + "start": 1410, + "end": 1828, "loc": { "start": { - "line": 50, + "line": 51, "column": 16 }, "end": { - "line": 61, + "line": 62, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 1406, - "end": 1459, + "start": 1418, + "end": 1471, "loc": { "start": { - "line": 51, + "line": 52, "column": 6 }, "end": { - "line": 51, + "line": 52, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1410, - "end": 1458, + "start": 1422, + "end": 1470, "loc": { "start": { - "line": 51, + "line": 52, "column": 10 }, "end": { - "line": 51, + "line": 52, "column": 58 } }, "id": { "type": "Identifier", - "start": 1410, - "end": 1418, + "start": 1422, + "end": 1430, "loc": { "start": { - "line": 51, + "line": 52, "column": 10 }, "end": { - "line": 51, + "line": 52, "column": 18 }, "identifierName": "demoPath" @@ -9613,43 +10142,43 @@ }, "init": { "type": "CallExpression", - "start": 1421, - "end": 1458, + "start": 1433, + "end": 1470, "loc": { "start": { - "line": 51, + "line": 52, "column": 21 }, "end": { - "line": 51, + "line": 52, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 1421, - "end": 1430, + "start": 1433, + "end": 1442, "loc": { "start": { - "line": 51, + "line": 52, "column": 21 }, "end": { - "line": 51, + "line": 52, "column": 30 } }, "object": { "type": "Identifier", - "start": 1421, - "end": 1425, + "start": 1433, + "end": 1437, "loc": { "start": { - "line": 51, + "line": 52, "column": 21 }, "end": { - "line": 51, + "line": 52, "column": 25 }, "identifierName": "path" @@ -9658,15 +10187,15 @@ }, "property": { "type": "Identifier", - "start": 1426, - "end": 1430, + "start": 1438, + "end": 1442, "loc": { "start": { - "line": 51, + "line": 52, "column": 26 }, "end": { - "line": 51, + "line": 52, "column": 30 }, "identifierName": "join" @@ -9678,43 +10207,43 @@ "arguments": [ { "type": "CallExpression", - "start": 1431, - "end": 1444, + "start": 1443, + "end": 1456, "loc": { "start": { - "line": 51, + "line": 52, "column": 31 }, "end": { - "line": 51, + "line": 52, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 1431, - "end": 1442, + "start": 1443, + "end": 1454, "loc": { "start": { - "line": 51, + "line": 52, "column": 31 }, "end": { - "line": 51, + "line": 52, "column": 42 } }, "object": { "type": "Identifier", - "start": 1431, - "end": 1438, + "start": 1443, + "end": 1450, "loc": { "start": { - "line": 51, + "line": 52, "column": 31 }, "end": { - "line": 51, + "line": 52, "column": 38 }, "identifierName": "process" @@ -9723,15 +10252,15 @@ }, "property": { "type": "Identifier", - "start": 1439, - "end": 1442, + "start": 1451, + "end": 1454, "loc": { "start": { - "line": 51, + "line": 52, "column": 39 }, "end": { - "line": 51, + "line": 52, "column": 42 }, "identifierName": "cwd" @@ -9744,29 +10273,29 @@ }, { "type": "MemberExpression", - "start": 1446, - "end": 1457, + "start": 1458, + "end": 1469, "loc": { "start": { - "line": 51, + "line": 52, "column": 46 }, "end": { - "line": 51, + "line": 52, "column": 57 } }, "object": { "type": "Identifier", - "start": 1446, - "end": 1452, + "start": 1458, + "end": 1464, "loc": { "start": { - "line": 51, + "line": 52, "column": 46 }, "end": { - "line": 51, + "line": 52, "column": 52 }, "identifierName": "server" @@ -9775,15 +10304,15 @@ }, "property": { "type": "Identifier", - "start": 1453, - "end": 1457, + "start": 1465, + "end": 1469, "loc": { "start": { - "line": 51, + "line": 52, "column": 53 }, "end": { - "line": 51, + "line": 52, "column": 57 }, "identifierName": "demo" @@ -9800,29 +10329,29 @@ }, { "type": "IfStatement", - "start": 1467, - "end": 1568, + "start": 1479, + "end": 1580, "loc": { "start": { - "line": 53, + "line": 54, "column": 6 }, "end": { - "line": 55, + "line": 56, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 1471, - "end": 1503, + "start": 1483, + "end": 1515, "loc": { "start": { - "line": 53, + "line": 54, "column": 10 }, "end": { - "line": 53, + "line": 54, "column": 42 } }, @@ -9830,43 +10359,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1472, - "end": 1503, + "start": 1484, + "end": 1515, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 1472, - "end": 1489, + "start": 1484, + "end": 1501, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 28 } }, "object": { "type": "Identifier", - "start": 1472, - "end": 1480, + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 19 }, "identifierName": "demoPath" @@ -9875,15 +10404,15 @@ }, "property": { "type": "Identifier", - "start": 1481, - "end": 1489, + "start": 1493, + "end": 1501, "loc": { "start": { - "line": 53, + "line": 54, "column": 20 }, "end": { - "line": 53, + "line": 54, "column": 28 }, "identifierName": "includes" @@ -9895,15 +10424,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1490, - "end": 1502, + "start": 1502, + "end": 1514, "loc": { "start": { - "line": 53, + "line": 54, "column": 29 }, "end": { - "line": 53, + "line": 54, "column": 41 } }, @@ -9921,59 +10450,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1505, - "end": 1568, + "start": 1517, + "end": 1580, "loc": { "start": { - "line": 53, + "line": 54, "column": 44 }, "end": { - "line": 55, + "line": 56, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1515, - "end": 1560, + "start": 1527, + "end": 1572, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 1515, - "end": 1559, + "start": 1527, + "end": 1571, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 52 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1515, - "end": 1523, + "start": 1527, + "end": 1535, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 16 }, "identifierName": "demoPath" @@ -9982,43 +10511,43 @@ }, "right": { "type": "CallExpression", - "start": 1526, - "end": 1559, + "start": 1538, + "end": 1571, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 1526, - "end": 1535, + "start": 1538, + "end": 1547, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 28 } }, "object": { "type": "Identifier", - "start": 1526, - "end": 1530, + "start": 1538, + "end": 1542, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 23 }, "identifierName": "path" @@ -10027,15 +10556,15 @@ }, "property": { "type": "Identifier", - "start": 1531, - "end": 1535, + "start": 1543, + "end": 1547, "loc": { "start": { - "line": 54, + "line": 55, "column": 24 }, "end": { - "line": 54, + "line": 55, "column": 28 }, "identifierName": "join" @@ -10047,15 +10576,15 @@ "arguments": [ { "type": "Identifier", - "start": 1536, - "end": 1544, + "start": 1548, + "end": 1556, "loc": { "start": { - "line": 54, + "line": 55, "column": 29 }, "end": { - "line": 54, + "line": 55, "column": 37 }, "identifierName": "demoPath" @@ -10064,15 +10593,15 @@ }, { "type": "StringLiteral", - "start": 1546, - "end": 1558, + "start": 1558, + "end": 1570, "loc": { "start": { - "line": 54, + "line": 55, "column": 39 }, "end": { - "line": 54, + "line": 55, "column": 51 } }, @@ -10093,44 +10622,44 @@ }, { "type": "VariableDeclaration", - "start": 1575, - "end": 1618, + "start": 1587, + "end": 1630, "loc": { "start": { - "line": 56, + "line": 57, "column": 6 }, "end": { - "line": 56, + "line": 57, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1579, - "end": 1617, + "start": 1591, + "end": 1629, "loc": { "start": { - "line": 56, + "line": 57, "column": 10 }, "end": { - "line": 56, + "line": 57, "column": 48 } }, "id": { "type": "Identifier", - "start": 1579, - "end": 1583, + "start": 1591, + "end": 1595, "loc": { "start": { - "line": 56, + "line": 57, "column": 10 }, "end": { - "line": 56, + "line": 57, "column": 14 }, "identifierName": "demo" @@ -10139,29 +10668,29 @@ }, "init": { "type": "CallExpression", - "start": 1586, - "end": 1617, + "start": 1598, + "end": 1629, "loc": { "start": { - "line": 56, + "line": 57, "column": 17 }, "end": { - "line": 56, + "line": 57, "column": 48 } }, "callee": { "type": "Identifier", - "start": 1586, - "end": 1598, + "start": 1598, + "end": 1610, "loc": { "start": { - "line": 56, + "line": 57, "column": 17 }, "end": { - "line": 56, + "line": 57, "column": 29 }, "identifierName": "readFileSync" @@ -10171,15 +10700,15 @@ "arguments": [ { "type": "Identifier", - "start": 1599, - "end": 1607, + "start": 1611, + "end": 1619, "loc": { "start": { - "line": 56, + "line": 57, "column": 30 }, "end": { - "line": 56, + "line": 57, "column": 38 }, "identifierName": "demoPath" @@ -10188,15 +10717,15 @@ }, { "type": "StringLiteral", - "start": 1609, - "end": 1616, + "start": 1621, + "end": 1628, "loc": { "start": { - "line": 56, + "line": 57, "column": 40 }, "end": { - "line": 56, + "line": 57, "column": 47 } }, @@ -10214,29 +10743,29 @@ }, { "type": "IfStatement", - "start": 1625, - "end": 1810, + "start": 1637, + "end": 1822, "loc": { "start": { - "line": 57, + "line": 58, "column": 6 }, "end": { - "line": 60, + "line": 61, "column": 7 } }, "test": { "type": "UnaryExpression", - "start": 1629, - "end": 1664, + "start": 1641, + "end": 1676, "loc": { "start": { - "line": 57, + "line": 58, "column": 10 }, "end": { - "line": 57, + "line": 58, "column": 45 } }, @@ -10244,43 +10773,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1630, - "end": 1664, + "start": 1642, + "end": 1676, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 1630, - "end": 1643, + "start": 1642, + "end": 1655, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 24 } }, "object": { "type": "Identifier", - "start": 1630, - "end": 1634, + "start": 1642, + "end": 1646, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 15 }, "identifierName": "demo" @@ -10289,15 +10818,15 @@ }, "property": { "type": "Identifier", - "start": 1635, - "end": 1643, + "start": 1647, + "end": 1655, "loc": { "start": { - "line": 57, + "line": 58, "column": 16 }, "end": { - "line": 57, + "line": 58, "column": 24 }, "identifierName": "includes" @@ -10309,15 +10838,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1644, - "end": 1663, + "start": 1656, + "end": 1675, "loc": { "start": { - "line": 57, + "line": 58, "column": 25 }, "end": { - "line": 57, + "line": 58, "column": 44 } }, @@ -10335,59 +10864,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1666, - "end": 1810, + "start": 1678, + "end": 1822, "loc": { "start": { - "line": 57, + "line": 58, "column": 47 }, "end": { - "line": 60, + "line": 61, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1676, - "end": 1763, + "start": 1688, + "end": 1775, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 95 } }, "expression": { "type": "AssignmentExpression", - "start": 1676, - "end": 1762, + "start": 1688, + "end": 1774, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 94 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1676, - "end": 1680, + "start": 1688, + "end": 1692, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 12 }, "identifierName": "demo" @@ -10396,43 +10925,43 @@ }, "right": { "type": "CallExpression", - "start": 1683, - "end": 1762, + "start": 1695, + "end": 1774, "loc": { "start": { - "line": 58, + "line": 59, "column": 15 }, "end": { - "line": 58, + "line": 59, "column": 94 } }, "callee": { "type": "MemberExpression", - "start": 1683, - "end": 1695, + "start": 1695, + "end": 1707, "loc": { "start": { - "line": 58, + "line": 59, "column": 15 }, "end": { - "line": 58, + "line": 59, "column": 27 } }, "object": { "type": "Identifier", - "start": 1683, - "end": 1687, + "start": 1695, + "end": 1699, "loc": { "start": { - "line": 58, + "line": 59, "column": 15 }, "end": { - "line": 58, + "line": 59, "column": 19 }, "identifierName": "demo" @@ -10441,15 +10970,15 @@ }, "property": { "type": "Identifier", - "start": 1688, - "end": 1695, + "start": 1700, + "end": 1707, "loc": { "start": { - "line": 58, + "line": 59, "column": 20 }, "end": { - "line": 58, + "line": 59, "column": 27 }, "identifierName": "replace" @@ -10461,15 +10990,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1696, - "end": 1705, + "start": 1708, + "end": 1717, "loc": { "start": { - "line": 58, + "line": 59, "column": 28 }, "end": { - "line": 58, + "line": 59, "column": 37 } }, @@ -10481,15 +11010,15 @@ }, { "type": "StringLiteral", - "start": 1707, - "end": 1761, + "start": 1719, + "end": 1773, "loc": { "start": { - "line": 58, + "line": 59, "column": 39 }, "end": { - "line": 58, + "line": 59, "column": 93 } }, @@ -10505,43 +11034,43 @@ }, { "type": "ExpressionStatement", - "start": 1772, - "end": 1802, + "start": 1784, + "end": 1814, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 1772, - "end": 1801, + "start": 1784, + "end": 1813, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 37 } }, "callee": { "type": "Identifier", - "start": 1772, - "end": 1785, + "start": 1784, + "end": 1797, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 21 }, "identifierName": "writeFileSync" @@ -10551,15 +11080,15 @@ "arguments": [ { "type": "Identifier", - "start": 1786, - "end": 1794, + "start": 1798, + "end": 1806, "loc": { "start": { - "line": 59, + "line": 60, "column": 22 }, "end": { - "line": 59, + "line": 60, "column": 30 }, "identifierName": "demoPath" @@ -10568,15 +11097,15 @@ }, { "type": "Identifier", - "start": 1796, - "end": 1800, + "start": 1808, + "end": 1812, "loc": { "start": { - "line": 59, + "line": 60, "column": 32 }, "end": { - "line": 59, + "line": 60, "column": 36 }, "identifierName": "demo" @@ -10602,30 +11131,30 @@ }, { "type": "ClassMethod", - "start": 1824, - "end": 2246, + "start": 1836, + "end": 2383, "loc": { "start": { - "line": 64, + "line": 65, "column": 2 }, "end": { - "line": 76, + "line": 83, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1824, - "end": 1833, + "start": 1836, + "end": 1845, "loc": { "start": { - "line": 64, + "line": 65, "column": 2 }, "end": { - "line": 64, + "line": 65, "column": 11 }, "identifierName": "runWorker" @@ -10641,15 +11170,15 @@ "params": [ { "type": "Identifier", - "start": 1834, - "end": 1838, + "start": 1846, + "end": 1850, "loc": { "start": { - "line": 64, + "line": 65, "column": 12 }, "end": { - "line": 64, + "line": 65, "column": 16 }, "identifierName": "task" @@ -10658,15 +11187,15 @@ }, { "type": "Identifier", - "start": 1840, - "end": 1846, + "start": 1852, + "end": 1858, "loc": { "start": { - "line": 64, + "line": 65, "column": 18 }, "end": { - "line": 64, + "line": 65, "column": 24 }, "identifierName": "config" @@ -10676,120 +11205,66 @@ ], "body": { "type": "BlockStatement", - "start": 1848, - "end": 2246, + "start": 1860, + "end": 2383, "loc": { "start": { - "line": 64, + "line": 65, "column": 26 }, "end": { - "line": 76, + "line": 83, "column": 3 } }, "body": [ { - "type": "VariableDeclaration", - "start": 1854, - "end": 1865, + "type": "IfStatement", + "start": 1866, + "end": 1934, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 65, - "column": 15 + "line": 69, + "column": 5 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1858, - "end": 1864, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 1858, - "end": 1864, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 14 - }, - "identifierName": "worker" - }, - "name": "worker" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 1870, - "end": 1935, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 66, - "column": 69 - } - }, - "expression": { - "type": "AssignmentExpression", + "test": { + "type": "MemberExpression", "start": 1870, - "end": 1934, + "end": 1879, "loc": { "start": { "line": 66, - "column": 4 + "column": 8 }, "end": { "line": 66, - "column": 68 + "column": 17 } }, - "operator": "=", - "left": { - "type": "Identifier", + "object": { + "type": "ThisExpression", "start": 1870, - "end": 1876, + "end": 1874, "loc": { "start": { "line": 66, - "column": 4 + "column": 8 }, "end": { "line": 66, - "column": 10 - }, - "identifierName": "worker" - }, - "name": "worker" + "column": 12 + } + } }, - "right": { - "type": "CallExpression", - "start": 1879, - "end": 1934, + "property": { + "type": "Identifier", + "start": 1875, + "end": 1879, "loc": { "start": { "line": 66, @@ -10797,264 +11272,620 @@ }, "end": { "line": 66, - "column": 68 - } + "column": 17 + }, + "identifierName": "busy" }, - "callee": { - "type": "Identifier", - "start": 1879, - "end": 1883, + "name": "busy" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 1881, + "end": 1934, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 69, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1889, + "end": 1903, "loc": { "start": { - "line": 66, - "column": 13 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 17 - }, - "identifierName": "fork" + "line": 67, + "column": 20 + } }, - "name": "fork" - }, - "arguments": [ - { + "expression": { "type": "CallExpression", - "start": 1884, - "end": 1933, + "start": 1889, + "end": 1902, "loc": { "start": { - "line": 66, - "column": 18 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 67 + "line": 67, + "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1884, - "end": 1893, + "start": 1889, + "end": 1900, "loc": { "start": { - "line": 66, - "column": 18 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 27 + "line": 67, + "column": 17 } }, "object": { "type": "Identifier", - "start": 1884, - "end": 1888, + "start": 1889, + "end": 1895, "loc": { "start": { - "line": 66, - "column": 18 + "line": 67, + "column": 6 }, "end": { - "line": 66, - "column": 22 + "line": 67, + "column": 12 }, - "identifierName": "path" + "identifierName": "worker" }, - "name": "path" + "name": "worker" }, "property": { "type": "Identifier", - "start": 1889, - "end": 1893, + "start": 1896, + "end": 1900, "loc": { "start": { - "line": 66, - "column": 23 + "line": 67, + "column": 13 }, "end": { - "line": 66, - "column": 27 + "line": 67, + "column": 17 }, - "identifierName": "join" + "identifierName": "kill" }, - "name": "join" + "name": "kill" }, "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 1894, - "end": 1903, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 1910, + "end": 1928, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1910, + "end": 1927, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1910, + "end": 1919, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1910, + "end": 1914, "loc": { "start": { - "line": 66, - "column": 28 + "line": 68, + "column": 6 }, "end": { - "line": 66, - "column": 37 - }, - "identifierName": "__dirname" - }, - "name": "__dirname" + "line": 68, + "column": 10 + } + } }, - { - "type": "StringLiteral", - "start": 1905, - "end": 1932, + "property": { + "type": "Identifier", + "start": 1915, + "end": 1919, "loc": { "start": { - "line": 66, - "column": 39 + "line": 68, + "column": 11 }, "end": { - "line": 66, - "column": 66 - } + "line": 68, + "column": 15 + }, + "identifierName": "busy" }, - "extra": { - "rawValue": "workers/watcher-worker.js", - "raw": "'workers/watcher-worker.js'" + "name": "busy" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 1922, + "end": 1927, + "loc": { + "start": { + "line": 68, + "column": 18 }, - "value": "workers/watcher-worker.js" - } - ] + "end": { + "line": 68, + "column": 23 + } + }, + "value": false + } } - ] - } - } + } + ], + "directives": [] + }, + "alternate": null }, { "type": "ExpressionStatement", - "start": 1940, - "end": 2195, + "start": 1939, + "end": 1956, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 74, - "column": 7 + "line": 70, + "column": 21 } }, "expression": { - "type": "CallExpression", - "start": 1940, - "end": 2194, + "type": "AssignmentExpression", + "start": 1939, + "end": 1955, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 74, - "column": 6 + "line": 70, + "column": 20 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 1940, - "end": 1949, + "start": 1939, + "end": 1948, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 67, + "line": 70, "column": 13 } }, "object": { - "type": "Identifier", - "start": 1940, - "end": 1946, + "type": "ThisExpression", + "start": 1939, + "end": 1943, "loc": { "start": { - "line": 67, + "line": 70, "column": 4 }, "end": { - "line": 67, - "column": 10 - }, - "identifierName": "worker" - }, - "name": "worker" + "line": 70, + "column": 8 + } + } }, "property": { "type": "Identifier", - "start": 1947, - "end": 1949, + "start": 1944, + "end": 1948, "loc": { "start": { - "line": 67, - "column": 11 + "line": 70, + "column": 9 }, "end": { - "line": 67, + "line": 70, "column": 13 }, - "identifierName": "on" + "identifierName": "busy" }, - "name": "on" + "name": "busy" }, "computed": false }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1950, - "end": 1959, - "loc": { - "start": { - "line": 67, - "column": 14 - }, - "end": { - "line": 67, - "column": 23 - } - }, - "extra": { - "rawValue": "message", - "raw": "'message'" + "right": { + "type": "BooleanLiteral", + "start": 1951, + "end": 1955, + "loc": { + "start": { + "line": 70, + "column": 16 }, - "value": "message" + "end": { + "line": 70, + "column": 20 + } }, - { - "type": "ArrowFunctionExpression", - "start": 1961, - "end": 2193, - "loc": { - "start": { - "line": 67, - "column": 25 - }, - "end": { - "line": 74, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 1961, + "end": 2026, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1961, + "end": 2025, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1961, + "end": 1967, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 10 + }, + "identifierName": "worker" + }, + "name": "worker" + }, + "right": { + "type": "CallExpression", + "start": 1970, + "end": 2025, + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 68 + } + }, + "callee": { + "type": "Identifier", + "start": 1970, + "end": 1974, + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 17 + }, + "identifierName": "fork" + }, + "name": "fork" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1975, + "end": 2024, + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1975, + "end": 1984, + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1975, + "end": 1979, + "loc": { + "start": { + "line": 71, + "column": 18 + }, + "end": { + "line": 71, + "column": 22 + }, + "identifierName": "path" + }, + "name": "path" + }, + "property": { + "type": "Identifier", + "start": 1980, + "end": 1984, + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 27 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1985, + "end": 1994, + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 37 + }, + "identifierName": "__dirname" + }, + "name": "__dirname" + }, + { + "type": "StringLiteral", + "start": 1996, + "end": 2023, + "loc": { + "start": { + "line": 71, + "column": 39 + }, + "end": { + "line": 71, + "column": 66 + } + }, + "extra": { + "rawValue": "workers/watcher-worker.js", + "raw": "'workers/watcher-worker.js'" + }, + "value": "workers/watcher-worker.js" + } + ] + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 2031, + "end": 2332, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 81, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 2031, + "end": 2331, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 81, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2031, + "end": 2040, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 2031, + "end": 2037, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 10 + }, + "identifierName": "worker" + }, + "name": "worker" + }, + "property": { + "type": "Identifier", + "start": 2038, + "end": 2040, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 13 + }, + "identifierName": "on" + }, + "name": "on" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 2041, + "end": 2050, + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 23 + } + }, + "extra": { + "rawValue": "message", + "raw": "'message'" + }, + "value": "message" + }, + { + "type": "ArrowFunctionExpression", + "start": 2052, + "end": 2330, + "loc": { + "start": { + "line": 72, + "column": 25 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, "params": [ { "type": "Identifier", - "start": 1961, - "end": 1968, + "start": 2052, + "end": 2059, "loc": { "start": { - "line": 67, + "line": 72, "column": 25 }, "end": { - "line": 67, + "line": 72, "column": 32 }, "identifierName": "message" @@ -11064,58 +11895,58 @@ ], "body": { "type": "BlockStatement", - "start": 1972, - "end": 2193, + "start": 2063, + "end": 2330, "loc": { "start": { - "line": 67, + "line": 72, "column": 36 }, "end": { - "line": 74, + "line": 81, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1980, - "end": 2082, + "start": 2071, + "end": 2173, "loc": { "start": { - "line": 68, + "line": 73, "column": 6 }, "end": { - "line": 71, + "line": 76, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1984, - "end": 2002, + "start": 2075, + "end": 2093, "loc": { "start": { - "line": 68, + "line": 73, "column": 10 }, "end": { - "line": 68, + "line": 73, "column": 28 } }, "left": { "type": "Identifier", - "start": 1984, - "end": 1991, + "start": 2075, + "end": 2082, "loc": { "start": { - "line": 68, + "line": 73, "column": 10 }, "end": { - "line": 68, + "line": 73, "column": 17 }, "identifierName": "message" @@ -11125,15 +11956,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1996, - "end": 2002, + "start": 2087, + "end": 2093, "loc": { "start": { - "line": 68, + "line": 73, "column": 22 }, "end": { - "line": 68, + "line": 73, "column": 28 } }, @@ -11146,87 +11977,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 2004, - "end": 2082, + "start": 2095, + "end": 2173, "loc": { "start": { - "line": 68, + "line": 73, "column": 30 }, "end": { - "line": 71, + "line": 76, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2014, - "end": 2046, + "start": 2105, + "end": 2137, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 2014, - "end": 2045, + "start": 2105, + "end": 2136, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 2014, - "end": 2032, + "start": 2105, + "end": 2123, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2014, - "end": 2018, + "start": 2105, + "end": 2109, "loc": { "start": { - "line": 69, + "line": 74, "column": 8 }, "end": { - "line": 69, + "line": 74, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2019, - "end": 2032, + "start": 2110, + "end": 2123, "loc": { "start": { - "line": 69, + "line": 74, "column": 13 }, "end": { - "line": 69, + "line": 74, "column": 26 }, "identifierName": "configureDemo" @@ -11238,44 +12069,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 2033, - "end": 2044, + "start": 2124, + "end": 2135, "loc": { "start": { - "line": 69, + "line": 74, "column": 27 }, "end": { - "line": 69, + "line": 74, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 2033, - "end": 2037, + "start": 2124, + "end": 2128, "loc": { "start": { - "line": 69, + "line": 74, "column": 27 }, "end": { - "line": 69, + "line": 74, "column": 31 } } }, "property": { "type": "Identifier", - "start": 2038, - "end": 2044, + "start": 2129, + "end": 2135, "loc": { "start": { - "line": 69, + "line": 74, "column": 32 }, "end": { - "line": 69, + "line": 74, "column": 38 }, "identifierName": "server" @@ -11289,44 +12120,44 @@ }, { "type": "ExpressionStatement", - "start": 2055, - "end": 2074, + "start": 2146, + "end": 2165, "loc": { "start": { - "line": 70, + "line": 75, "column": 8 }, "end": { - "line": 70, + "line": 75, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2055, - "end": 2073, + "start": 2146, + "end": 2164, "loc": { "start": { - "line": 70, + "line": 75, "column": 8 }, "end": { - "line": 70, + "line": 75, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2055, - "end": 2062, + "start": 2146, + "end": 2153, "loc": { "start": { - "line": 70, + "line": 75, "column": 8 }, "end": { - "line": 70, + "line": 75, "column": 15 }, "identifierName": "message" @@ -11335,15 +12166,15 @@ }, "right": { "type": "StringLiteral", - "start": 2065, - "end": 2073, + "start": 2156, + "end": 2164, "loc": { "start": { - "line": 70, + "line": 75, "column": 18 }, "end": { - "line": 70, + "line": 75, "column": 26 } }, @@ -11362,57 +12193,57 @@ }, { "type": "ExpressionStatement", - "start": 2089, - "end": 2161, + "start": 2180, + "end": 2252, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 78 } }, "expression": { "type": "CallExpression", - "start": 2089, - "end": 2160, + "start": 2180, + "end": 2251, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 2089, - "end": 2099, + "start": 2180, + "end": 2190, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 16 } }, "object": { "type": "Identifier", - "start": 2089, - "end": 2095, + "start": 2180, + "end": 2186, "loc": { "start": { - "line": 72, + "line": 77, "column": 6 }, "end": { - "line": 72, + "line": 77, "column": 12 }, "identifierName": "logger" @@ -11421,15 +12252,15 @@ }, "property": { "type": "Identifier", - "start": 2096, - "end": 2099, + "start": 2187, + "end": 2190, "loc": { "start": { - "line": 72, + "line": 77, "column": 13 }, "end": { - "line": 72, + "line": 77, "column": 16 }, "identifierName": "log" @@ -11441,44 +12272,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 2100, - "end": 2159, + "start": 2191, + "end": 2250, "loc": { "start": { - "line": 72, + "line": 77, "column": 17 }, "end": { - "line": 72, + "line": 77, "column": 76 } }, "expressions": [ { "type": "CallExpression", - "start": 2104, - "end": 2110, + "start": 2195, + "end": 2201, "loc": { "start": { - "line": 72, + "line": 77, "column": 21 }, "end": { - "line": 72, + "line": 77, "column": 27 } }, "callee": { "type": "Identifier", - "start": 2104, - "end": 2108, + "start": 2195, + "end": 2199, "loc": { "start": { - "line": 72, + "line": 77, "column": 21 }, "end": { - "line": 72, + "line": 77, "column": 25 }, "identifierName": "time" @@ -11489,43 +12320,43 @@ }, { "type": "CallExpression", - "start": 2115, - "end": 2157, + "start": 2206, + "end": 2248, "loc": { "start": { - "line": 72, + "line": 77, "column": 32 }, "end": { - "line": 72, + "line": 77, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 2115, - "end": 2128, + "start": 2206, + "end": 2219, "loc": { "start": { - "line": 72, + "line": 77, "column": 32 }, "end": { - "line": 72, + "line": 77, "column": 45 } }, "object": { "type": "Identifier", - "start": 2115, - "end": 2121, + "start": 2206, + "end": 2212, "loc": { "start": { - "line": 72, + "line": 77, "column": 32 }, "end": { - "line": 72, + "line": 77, "column": 38 }, "identifierName": "logger" @@ -11534,15 +12365,15 @@ }, "property": { "type": "Identifier", - "start": 2122, - "end": 2128, + "start": 2213, + "end": 2219, "loc": { "start": { - "line": 72, + "line": 77, "column": 39 }, "end": { - "line": 72, + "line": 77, "column": 45 }, "identifierName": "_chalk" @@ -11554,15 +12385,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2129, - "end": 2148, + "start": 2220, + "end": 2239, "loc": { "start": { - "line": 72, + "line": 77, "column": 46 }, "end": { - "line": 72, + "line": 77, "column": 65 } }, @@ -11574,15 +12405,15 @@ }, { "type": "StringLiteral", - "start": 2150, - "end": 2156, + "start": 2241, + "end": 2247, "loc": { "start": { - "line": 72, + "line": 77, "column": 67 }, "end": { - "line": 72, + "line": 77, "column": 73 } }, @@ -11598,15 +12429,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 2101, - "end": 2102, + "start": 2192, + "end": 2193, "loc": { "start": { - "line": 72, + "line": 77, "column": 18 }, "end": { - "line": 72, + "line": 77, "column": 19 } }, @@ -11618,15 +12449,15 @@ }, { "type": "TemplateElement", - "start": 2111, - "end": 2113, + "start": 2202, + "end": 2204, "loc": { "start": { - "line": 72, + "line": 77, "column": 28 }, "end": { - "line": 72, + "line": 77, "column": 30 } }, @@ -11638,15 +12469,15 @@ }, { "type": "TemplateElement", - "start": 2158, - "end": 2158, + "start": 2249, + "end": 2249, "loc": { "start": { - "line": 72, + "line": 77, "column": 75 }, "end": { - "line": 72, + "line": 77, "column": 75 } }, @@ -11663,72 +12494,72 @@ }, { "type": "ExpressionStatement", - "start": 2168, - "end": 2187, + "start": 2259, + "end": 2278, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 2168, - "end": 2186, + "start": 2259, + "end": 2277, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 2168, - "end": 2177, + "start": 2259, + "end": 2268, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 2168, - "end": 2172, + "start": 2259, + "end": 2263, "loc": { "start": { - "line": 73, + "line": 78, "column": 6 }, "end": { - "line": 73, + "line": 78, "column": 10 } } }, "property": { "type": "Identifier", - "start": 2173, - "end": 2177, + "start": 2264, + "end": 2268, "loc": { "start": { - "line": 73, + "line": 78, "column": 11 }, "end": { - "line": 73, + "line": 78, "column": 15 }, "identifierName": "emit" @@ -11740,15 +12571,15 @@ "arguments": [ { "type": "Identifier", - "start": 2178, - "end": 2185, + "start": 2269, + "end": 2276, "loc": { "start": { - "line": 73, + "line": 78, "column": 16 }, "end": { - "line": 73, + "line": 78, "column": 23 }, "identifierName": "message" @@ -11757,6 +12588,182 @@ } ] } + }, + { + "type": "ExpressionStatement", + "start": 2285, + "end": 2299, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 2285, + "end": 2298, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2285, + "end": 2296, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 2285, + "end": 2291, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 12 + }, + "identifierName": "worker" + }, + "name": "worker" + }, + "property": { + "type": "Identifier", + "start": 2292, + "end": 2296, + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 17 + }, + "identifierName": "kill" + }, + "name": "kill" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 2306, + "end": 2324, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2306, + "end": 2323, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2306, + "end": 2315, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 2306, + "end": 2310, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2311, + "end": 2315, + "loc": { + "start": { + "line": 80, + "column": 11 + }, + "end": { + "line": 80, + "column": 15 + }, + "identifierName": "busy" + }, + "name": "busy" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 2318, + "end": 2323, + "loc": { + "start": { + "line": 80, + "column": 18 + }, + "end": { + "line": 80, + "column": 23 + } + }, + "value": false + } + } } ], "directives": [] @@ -11767,57 +12774,57 @@ }, { "type": "ExpressionStatement", - "start": 2200, - "end": 2242, + "start": 2337, + "end": 2379, "loc": { "start": { - "line": 75, + "line": 82, "column": 4 }, "end": { - "line": 75, + "line": 82, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 2200, - "end": 2241, + "start": 2337, + "end": 2378, "loc": { "start": { - "line": 75, + "line": 82, "column": 4 }, "end": { - "line": 75, + "line": 82, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 2200, - "end": 2211, + "start": 2337, + "end": 2348, "loc": { "start": { - "line": 75, + "line": 82, "column": 4 }, "end": { - "line": 75, + "line": 82, "column": 15 } }, "object": { "type": "Identifier", - "start": 2200, - "end": 2206, + "start": 2337, + "end": 2343, "loc": { "start": { - "line": 75, + "line": 82, "column": 4 }, "end": { - "line": 75, + "line": 82, "column": 10 }, "identifierName": "worker" @@ -11826,15 +12833,15 @@ }, "property": { "type": "Identifier", - "start": 2207, - "end": 2211, + "start": 2344, + "end": 2348, "loc": { "start": { - "line": 75, + "line": 82, "column": 11 }, "end": { - "line": 75, + "line": 82, "column": 15 }, "identifierName": "send" @@ -11846,30 +12853,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 2212, - "end": 2240, + "start": 2349, + "end": 2377, "loc": { "start": { - "line": 75, + "line": 82, "column": 16 }, "end": { - "line": 75, + "line": 82, "column": 44 } }, "properties": [ { "type": "ObjectProperty", - "start": 2213, - "end": 2223, + "start": 2350, + "end": 2360, "loc": { "start": { - "line": 75, + "line": 82, "column": 17 }, "end": { - "line": 75, + "line": 82, "column": 27 } }, @@ -11878,15 +12885,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2213, - "end": 2217, + "start": 2350, + "end": 2354, "loc": { "start": { - "line": 75, + "line": 82, "column": 17 }, "end": { - "line": 75, + "line": 82, "column": 21 }, "identifierName": "task" @@ -11895,15 +12902,15 @@ }, "value": { "type": "Identifier", - "start": 2219, - "end": 2223, + "start": 2356, + "end": 2360, "loc": { "start": { - "line": 75, + "line": 82, "column": 23 }, "end": { - "line": 75, + "line": 82, "column": 27 }, "identifierName": "task" @@ -11913,15 +12920,15 @@ }, { "type": "ObjectProperty", - "start": 2225, - "end": 2239, + "start": 2362, + "end": 2376, "loc": { "start": { - "line": 75, + "line": 82, "column": 29 }, "end": { - "line": 75, + "line": 82, "column": 43 } }, @@ -11930,15 +12937,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2225, - "end": 2231, + "start": 2362, + "end": 2368, "loc": { "start": { - "line": 75, + "line": 82, "column": 29 }, "end": { - "line": 75, + "line": 82, "column": 35 }, "identifierName": "config" @@ -11947,15 +12954,15 @@ }, "value": { "type": "Identifier", - "start": 2233, - "end": 2239, + "start": 2370, + "end": 2376, "loc": { "start": { - "line": 75, + "line": 82, "column": 37 }, "end": { - "line": 75, + "line": 82, "column": 43 }, "identifierName": "config" @@ -11976,15 +12983,15 @@ { "type": "CommentLine", "value": " on(event, fn) {", - "start": 2250, - "end": 2268, + "start": 2387, + "end": 2405, "loc": { "start": { - "line": 78, + "line": 85, "column": 2 }, "end": { - "line": 78, + "line": 85, "column": 20 } } @@ -11992,15 +12999,15 @@ { "type": "CommentLine", "value": " this.on(event, fn);", - "start": 2271, - "end": 2295, + "start": 2408, + "end": 2432, "loc": { "start": { - "line": 79, + "line": 86, "column": 2 }, "end": { - "line": 79, + "line": 86, "column": 26 } } @@ -12008,15 +13015,15 @@ { "type": "CommentLine", "value": " }", - "start": 2298, - "end": 2302, + "start": 2435, + "end": 2439, "loc": { "start": { - "line": 80, + "line": 87, "column": 2 }, "end": { - "line": 80, + "line": 87, "column": 6 } } @@ -12024,15 +13031,15 @@ { "type": "CommentLine", "value": " this.watcher = chokidar.watch(config.watchers, config.options);", - "start": 2308, - "end": 2374, + "start": 2445, + "end": 2511, "loc": { "start": { - "line": 82, + "line": 89, "column": 4 }, "end": { - "line": 82, + "line": 89, "column": 70 } } @@ -12040,15 +13047,15 @@ { "type": "CommentLine", "value": " this.watcher.on('change', path => logger.log(`File ${path} has been changed`));", - "start": 2379, - "end": 2461, + "start": 2516, + "end": 2598, "loc": { "start": { - "line": 83, + "line": 90, "column": 4 }, "end": { - "line": 83, + "line": 90, "column": 86 } } @@ -12061,15 +13068,15 @@ { "type": "CommentBlock", "value": "*\n * @extends EventEmitter\n ", - "start": 362, - "end": 394, + "start": 374, + "end": 406, "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 3 } } @@ -12082,15 +13089,15 @@ }, { "type": "ExportDefaultDeclaration", - "start": 2464, - "end": 2493, + "start": 2601, + "end": 2630, "loc": { "start": { - "line": 85, + "line": 92, "column": 0 }, "end": { - "line": 85, + "line": 92, "column": 29 } }, @@ -12099,11 +13106,11 @@ "kind": "let", "loc": { "start": { - "line": 85, + "line": 92, "column": 0 }, "end": { - "line": 85, + "line": 92, "column": 29 } }, @@ -12186,15 +13193,15 @@ { "type": "CommentBlock", "value": "*\n * @extends EventEmitter\n ", - "start": 362, - "end": 394, + "start": 374, + "end": 406, "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 3 } } @@ -12202,15 +13209,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config {@link Config}\n ", - "start": 435, - "end": 487, + "start": 447, + "end": 499, "loc": { "start": { - "line": 18, + "line": 19, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 5 } } @@ -12218,109 +13225,999 @@ { "type": "CommentLine", "value": " on(event, fn) {", - "start": 2250, - "end": 2268, + "start": 2387, + "end": 2405, "loc": { "start": { - "line": 78, + "line": 85, + "column": 2 + }, + "end": { + "line": 85, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " this.on(event, fn);", + "start": 2408, + "end": 2432, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 26 + } + } + }, + { + "type": "CommentLine", + "value": " }", + "start": 2435, + "end": 2439, + "loc": { + "start": { + "line": 87, "column": 2 }, "end": { - "line": 78, - "column": 20 + "line": 87, + "column": 6 + } + } + }, + { + "type": "CommentLine", + "value": " this.watcher = chokidar.watch(config.watchers, config.options);", + "start": 2445, + "end": 2511, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 70 + } + } + }, + { + "type": "CommentLine", + "value": " this.watcher.on('change', path => logger.log(`File ${path} has been changed`));", + "start": 2516, + "end": 2598, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 86 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 14, + "end": 19, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20, + "end": 21, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fork", + "start": 21, + "end": 25, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 25, + "end": 26, + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 2, + "column": 13 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 29, + "end": 36, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 36, + "end": 37, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "child_process", + "start": 37, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 52, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 38 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 53, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 55, + "end": 60, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "chokidar", + "start": 61, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 72, + "end": 79, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 79, + "end": 80, + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "chokidar", + "start": 80, + "end": 90, + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 93, + "end": 98, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "path", + "start": 99, + "end": 103, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 104, + "end": 105, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 106, + "end": 113, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "path", + "start": 114, + "end": 120, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 120, + "end": 121, + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 121, + "end": 122, + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 123, + "end": 128, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "EventEmitter", + "start": 129, + "end": 141, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 18 } } }, { - "type": "CommentLine", - "value": " this.on(event, fn);", - "start": 2271, - "end": 2295, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 142, + "end": 143, "loc": { "start": { - "line": 79, - "column": 2 + "line": 5, + "column": 19 }, "end": { - "line": 79, - "column": 26 + "line": 5, + "column": 20 } } }, { - "type": "CommentLine", - "value": " }", - "start": 2298, - "end": 2302, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 144, + "end": 151, "loc": { "start": { - "line": 80, - "column": 2 + "line": 5, + "column": 21 }, "end": { - "line": 80, - "column": 6 + "line": 5, + "column": 28 } } }, { - "type": "CommentLine", - "value": " this.watcher = chokidar.watch(config.watchers, config.options);", - "start": 2308, - "end": 2374, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 151, + "end": 152, "loc": { "start": { - "line": 82, - "column": 4 + "line": 5, + "column": 28 }, "end": { - "line": 82, - "column": 70 + "line": 5, + "column": 29 } } }, { - "type": "CommentLine", - "value": " this.watcher.on('change', path => logger.log(`File ${path} has been changed`));", - "start": 2379, - "end": 2461, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "events", + "start": 152, + "end": 160, "loc": { "start": { - "line": 83, - "column": 4 + "line": 5, + "column": 29 }, "end": { - "line": 83, - "column": 86 + "line": 5, + "column": 37 } } - } - ], - "tokens": [ + }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "use strict", - "start": 0, - "end": 12, + "start": 160, + "end": 161, "loc": { "start": { - "line": 1, - "column": 0 + "line": 5, + "column": 37 }, "end": { - "line": 1, - "column": 12 + "line": 5, + "column": 38 } } }, @@ -12337,16 +14234,16 @@ "binop": null, "updateContext": null }, - "start": 12, - "end": 13, + "start": 161, + "end": 162, "loc": { "start": { - "line": 1, - "column": 12 + "line": 5, + "column": 38 }, "end": { - "line": 1, - "column": 13 + "line": 5, + "column": 39 } } }, @@ -12365,15 +14262,15 @@ "updateContext": null }, "value": "const", - "start": 14, - "end": 19, + "start": 163, + "end": 168, "loc": { "start": { - "line": 2, + "line": 6, "column": 0 }, "end": { - "line": 2, + "line": 6, "column": 5 } } @@ -12390,15 +14287,15 @@ "postfix": false, "binop": null }, - "start": 20, - "end": 21, + "start": 169, + "end": 170, "loc": { "start": { - "line": 2, + "line": 6, "column": 6 }, "end": { - "line": 2, + "line": 6, "column": 7 } } @@ -12415,17 +14312,69 @@ "postfix": false, "binop": null }, - "value": "fork", - "start": 21, - "end": 25, + "value": "readFileSync", + "start": 170, + "end": 182, "loc": { "start": { - "line": 2, + "line": 6, "column": 7 }, "end": { - "line": 2, - "column": 11 + "line": 6, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 182, + "end": 183, + "loc": { + "start": { + "line": 6, + "column": 19 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeFileSync", + "start": 184, + "end": 197, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 34 } } }, @@ -12441,16 +14390,16 @@ "postfix": false, "binop": null }, - "start": 25, - "end": 26, + "start": 197, + "end": 198, "loc": { "start": { - "line": 2, - "column": 11 + "line": 6, + "column": 34 }, "end": { - "line": 2, - "column": 12 + "line": 6, + "column": 35 } } }, @@ -12468,16 +14417,16 @@ "updateContext": null }, "value": "=", - "start": 27, - "end": 28, + "start": 199, + "end": 200, "loc": { "start": { - "line": 2, - "column": 13 + "line": 6, + "column": 36 }, "end": { - "line": 2, - "column": 14 + "line": 6, + "column": 37 } } }, @@ -12494,16 +14443,16 @@ "binop": null }, "value": "require", - "start": 29, - "end": 36, + "start": 201, + "end": 208, "loc": { "start": { - "line": 2, - "column": 15 + "line": 6, + "column": 38 }, "end": { - "line": 2, - "column": 22 + "line": 6, + "column": 45 } } }, @@ -12519,16 +14468,16 @@ "postfix": false, "binop": null }, - "start": 36, - "end": 37, + "start": 208, + "end": 209, "loc": { "start": { - "line": 2, - "column": 22 + "line": 6, + "column": 45 }, "end": { - "line": 2, - "column": 23 + "line": 6, + "column": 46 } } }, @@ -12545,17 +14494,17 @@ "binop": null, "updateContext": null }, - "value": "child_process", - "start": 37, - "end": 52, + "value": "fs", + "start": 209, + "end": 213, "loc": { "start": { - "line": 2, - "column": 23 + "line": 6, + "column": 46 }, "end": { - "line": 2, - "column": 38 + "line": 6, + "column": 50 } } }, @@ -12571,16 +14520,16 @@ "postfix": false, "binop": null }, - "start": 52, - "end": 53, + "start": 213, + "end": 214, "loc": { "start": { - "line": 2, - "column": 38 + "line": 6, + "column": 50 }, "end": { - "line": 2, - "column": 39 + "line": 6, + "column": 51 } } }, @@ -12597,16 +14546,32 @@ "binop": null, "updateContext": null }, - "start": 53, - "end": 54, + "start": 214, + "end": 215, "loc": { "start": { - "line": 2, - "column": 39 + "line": 6, + "column": 51 }, "end": { - "line": 2, - "column": 40 + "line": 6, + "column": 52 + } + } + }, + { + "type": "CommentLine", + "value": " const {merge} = require('lodash');", + "start": 216, + "end": 253, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 37 } } }, @@ -12625,15 +14590,15 @@ "updateContext": null }, "value": "const", - "start": 55, - "end": 60, + "start": 254, + "end": 259, "loc": { "start": { - "line": 3, + "line": 8, "column": 0 }, "end": { - "line": 3, + "line": 8, "column": 5 } } @@ -12650,17 +14615,17 @@ "postfix": false, "binop": null }, - "value": "chokidar", - "start": 61, - "end": 69, + "value": "logger", + "start": 260, + "end": 266, "loc": { "start": { - "line": 3, + "line": 8, "column": 6 }, "end": { - "line": 3, - "column": 14 + "line": 8, + "column": 12 } } }, @@ -12678,16 +14643,16 @@ "updateContext": null }, "value": "=", - "start": 70, - "end": 71, + "start": 267, + "end": 268, "loc": { "start": { - "line": 3, - "column": 15 + "line": 8, + "column": 13 }, "end": { - "line": 3, - "column": 16 + "line": 8, + "column": 14 } } }, @@ -12704,16 +14669,16 @@ "binop": null }, "value": "require", - "start": 72, - "end": 79, + "start": 269, + "end": 276, "loc": { "start": { - "line": 3, - "column": 17 + "line": 8, + "column": 15 }, "end": { - "line": 3, - "column": 24 + "line": 8, + "column": 22 } } }, @@ -12729,16 +14694,16 @@ "postfix": false, "binop": null }, - "start": 79, - "end": 80, + "start": 276, + "end": 277, "loc": { "start": { - "line": 3, - "column": 24 + "line": 8, + "column": 22 }, "end": { - "line": 3, - "column": 25 + "line": 8, + "column": 23 } } }, @@ -12755,17 +14720,17 @@ "binop": null, "updateContext": null }, - "value": "chokidar", - "start": 80, - "end": 90, + "value": "backed-logger", + "start": 277, + "end": 292, "loc": { "start": { - "line": 3, - "column": 25 + "line": 8, + "column": 23 }, "end": { - "line": 3, - "column": 35 + "line": 8, + "column": 38 } } }, @@ -12781,16 +14746,16 @@ "postfix": false, "binop": null }, - "start": 90, - "end": 91, + "start": 292, + "end": 293, "loc": { "start": { - "line": 3, - "column": 35 + "line": 8, + "column": 38 }, "end": { - "line": 3, - "column": 36 + "line": 8, + "column": 39 } } }, @@ -12807,16 +14772,16 @@ "binop": null, "updateContext": null }, - "start": 91, - "end": 92, + "start": 293, + "end": 294, "loc": { "start": { - "line": 3, - "column": 36 + "line": 8, + "column": 39 }, "end": { - "line": 3, - "column": 37 + "line": 8, + "column": 40 } } }, @@ -12835,15 +14800,15 @@ "updateContext": null }, "value": "const", - "start": 93, - "end": 98, + "start": 295, + "end": 300, "loc": { "start": { - "line": 4, + "line": 9, "column": 0 }, "end": { - "line": 4, + "line": 9, "column": 5 } } @@ -12860,16 +14825,16 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 99, - "end": 103, + "value": "time", + "start": 301, + "end": 305, "loc": { "start": { - "line": 4, + "line": 9, "column": 6 }, "end": { - "line": 4, + "line": 9, "column": 10 } } @@ -12888,23 +14853,23 @@ "updateContext": null }, "value": "=", - "start": 104, - "end": 105, + "start": 306, + "end": 307, "loc": { "start": { - "line": 4, + "line": 9, "column": 11 }, "end": { - "line": 4, + "line": 9, "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12913,25 +14878,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 106, - "end": 113, + "start": 308, + "end": 309, "loc": { "start": { - "line": 4, + "line": 9, "column": 13 }, "end": { - "line": 4, - "column": 20 + "line": 9, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12939,24 +14903,24 @@ "postfix": false, "binop": null }, - "start": 113, - "end": 114, + "start": 309, + "end": 310, "loc": { "start": { - "line": 4, - "column": 20 + "line": 9, + "column": 14 }, "end": { - "line": 4, - "column": 21 + "line": 9, + "column": 15 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12965,25 +14929,24 @@ "binop": null, "updateContext": null }, - "value": "path", - "start": 114, - "end": 120, + "start": 311, + "end": 313, "loc": { "start": { - "line": 4, - "column": 21 + "line": 9, + "column": 16 }, "end": { - "line": 4, - "column": 27 + "line": 9, + "column": 18 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12991,22 +14954,23 @@ "postfix": false, "binop": null }, - "start": 120, - "end": 121, + "start": 314, + "end": 315, "loc": { "start": { - "line": 4, - "column": 27 + "line": 9, + "column": 19 }, - "end": { - "line": 4, - "column": 28 + "end": { + "line": 9, + "column": 20 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13017,25 +14981,26 @@ "binop": null, "updateContext": null }, - "start": 121, - "end": 122, + "value": "return", + "start": 318, + "end": 324, "loc": { "start": { - "line": 4, - "column": 28 + "line": 10, + "column": 2 }, "end": { - "line": 4, - "column": 29 + "line": 10, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13044,17 +15009,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 123, - "end": 128, + "value": "new", + "start": 325, + "end": 328, "loc": { "start": { - "line": 5, - "column": 0 + "line": 10, + "column": 9 }, "end": { - "line": 5, - "column": 5 + "line": 10, + "column": 12 } } }, @@ -13070,51 +15035,24 @@ "postfix": false, "binop": null }, - "value": "EventEmitter", - "start": 129, - "end": 141, + "value": "Date", + "start": 329, + "end": 333, "loc": { "start": { - "line": 5, - "column": 6 + "line": 10, + "column": 13 }, "end": { - "line": 5, - "column": 18 + "line": 10, + "column": 17 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 142, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13123,25 +15061,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 144, - "end": 151, + "start": 333, + "end": 334, "loc": { "start": { - "line": 5, - "column": 21 + "line": 10, + "column": 17 }, "end": { - "line": 5, - "column": 28 + "line": 10, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13149,24 +15086,24 @@ "postfix": false, "binop": null }, - "start": 151, - "end": 152, + "start": 334, + "end": 335, "loc": { "start": { - "line": 5, - "column": 28 + "line": 10, + "column": 18 }, "end": { - "line": 5, - "column": 29 + "line": 10, + "column": 19 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13175,25 +15112,24 @@ "binop": null, "updateContext": null }, - "value": "events", - "start": 152, - "end": 160, + "start": 335, + "end": 336, "loc": { "start": { - "line": 5, - "column": 29 + "line": 10, + "column": 19 }, "end": { - "line": 5, - "column": 37 + "line": 10, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13201,49 +15137,48 @@ "postfix": false, "binop": null }, - "start": 160, - "end": 161, + "value": "toLocaleTimeString", + "start": 336, + "end": 354, "loc": { "start": { - "line": 5, - "column": 37 + "line": 10, + "column": 20 }, "end": { - "line": 5, + "line": 10, "column": 38 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 161, - "end": 162, + "start": 354, + "end": 355, "loc": { "start": { - "line": 5, + "line": 10, "column": 38 }, "end": { - "line": 5, + "line": 10, "column": 39 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13251,53 +15186,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 163, - "end": 168, + "start": 355, + "end": 356, "loc": { "start": { - "line": 6, - "column": 0 + "line": 10, + "column": 39 }, "end": { - "line": 6, - "column": 5 + "line": 10, + "column": 40 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 169, - "end": 170, + "start": 356, + "end": 357, "loc": { "start": { - "line": 6, - "column": 6 + "line": 10, + "column": 40 }, "end": { - "line": 6, - "column": 7 + "line": 10, + "column": 41 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13305,23 +15239,22 @@ "postfix": false, "binop": null }, - "value": "readFileSync", - "start": 170, - "end": 182, + "start": 358, + "end": 359, "loc": { "start": { - "line": 6, - "column": 7 + "line": 11, + "column": 0 }, "end": { - "line": 6, - "column": 19 + "line": 11, + "column": 1 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13332,127 +15265,147 @@ "binop": null, "updateContext": null }, - "start": 182, - "end": 183, + "start": 359, + "end": 360, "loc": { "start": { - "line": 6, - "column": 19 + "line": 11, + "column": 1 }, "end": { - "line": 6, - "column": 20 + "line": 11, + "column": 2 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "writeFileSync", - "start": 184, - "end": 197, + "value": "let", + "start": 361, + "end": 364, "loc": { "start": { - "line": 6, - "column": 21 + "line": 12, + "column": 0 }, "end": { - "line": 6, - "column": 34 + "line": 12, + "column": 3 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null - }, - "start": 197, - "end": 198, + }, + "value": "worker", + "start": 365, + "end": 371, "loc": { "start": { - "line": 6, - "column": 34 + "line": 12, + "column": 4 }, "end": { - "line": 6, - "column": 35 + "line": 12, + "column": 10 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 199, - "end": 200, + "start": 371, + "end": 372, "loc": { "start": { - "line": 6, - "column": 36 + "line": 12, + "column": 10 }, "end": { - "line": 6, - "column": 37 + "line": 12, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @extends EventEmitter\n ", + "start": 374, + "end": 406, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 3 } } }, { "type": { - "label": "name", + "label": "class", + "keyword": "class", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 201, - "end": 208, + "value": "class", + "start": 407, + "end": 412, "loc": { "start": { - "line": 6, - "column": 38 + "line": 17, + "column": 0 }, "end": { - "line": 6, - "column": 45 + "line": 17, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13461,24 +15414,26 @@ "postfix": false, "binop": null }, - "start": 208, - "end": 209, + "value": "Watcher", + "start": 413, + "end": 420, "loc": { "start": { - "line": 6, - "column": 45 + "line": 17, + "column": 6 }, "end": { - "line": 6, - "column": 46 + "line": 17, + "column": 13 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13487,25 +15442,25 @@ "binop": null, "updateContext": null }, - "value": "fs", - "start": 209, - "end": 213, + "value": "extends", + "start": 421, + "end": 428, "loc": { "start": { - "line": 6, - "column": 46 + "line": 17, + "column": 14 }, "end": { - "line": 6, - "column": 50 + "line": 17, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13513,93 +15468,91 @@ "postfix": false, "binop": null }, - "start": 213, - "end": 214, + "value": "EventEmitter", + "start": 429, + "end": 441, "loc": { "start": { - "line": 6, - "column": 50 + "line": 17, + "column": 22 }, "end": { - "line": 6, - "column": 51 + "line": 17, + "column": 34 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 214, - "end": 215, + "start": 442, + "end": 443, "loc": { "start": { - "line": 6, - "column": 51 + "line": 17, + "column": 35 }, "end": { - "line": 6, - "column": 52 + "line": 17, + "column": 36 } } }, { - "type": "CommentLine", - "value": " const {merge} = require('lodash');", - "start": 216, - "end": 253, + "type": "CommentBlock", + "value": "*\n * @param {object} config {@link Config}\n ", + "start": 447, + "end": 499, "loc": { "start": { - "line": 7, - "column": 0 + "line": 19, + "column": 2 }, "end": { - "line": 7, - "column": 37 + "line": 21, + "column": 5 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 254, - "end": 259, + "value": "watch", + "start": 502, + "end": 507, "loc": { "start": { - "line": 8, - "column": 0 + "line": 22, + "column": 2 }, "end": { - "line": 8, - "column": 5 + "line": 22, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13608,52 +15561,50 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 260, - "end": 266, + "start": 507, + "end": 508, "loc": { "start": { - "line": 8, - "column": 6 + "line": 22, + "column": 7 }, "end": { - "line": 8, - "column": 12 + "line": 22, + "column": 8 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 267, - "end": 268, + "value": "config", + "start": 508, + "end": 514, "loc": { "start": { - "line": 8, - "column": 13 + "line": 22, + "column": 8 }, "end": { - "line": 8, + "line": 22, "column": 14 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13661,23 +15612,22 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 269, - "end": 276, + "start": 514, + "end": 515, "loc": { "start": { - "line": 8, - "column": 15 + "line": 22, + "column": 14 }, "end": { - "line": 8, - "column": 22 + "line": 22, + "column": 15 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13687,23 +15637,52 @@ "postfix": false, "binop": null }, - "start": 276, - "end": 277, + "start": 516, + "end": 517, "loc": { "start": { - "line": 8, - "column": 22 + "line": 22, + "column": 16 }, "end": { - "line": 8, - "column": 23 + "line": 22, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 522, + "end": 528, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13713,25 +15692,25 @@ "binop": null, "updateContext": null }, - "value": "backed-logger", - "start": 277, - "end": 292, + "value": "new", + "start": 529, + "end": 532, "loc": { "start": { - "line": 8, - "column": 23 + "line": 23, + "column": 11 }, "end": { - "line": 8, - "column": 38 + "line": 23, + "column": 14 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13739,70 +15718,67 @@ "postfix": false, "binop": null }, - "start": 292, - "end": 293, + "value": "Promise", + "start": 533, + "end": 540, "loc": { "start": { - "line": 8, - "column": 38 + "line": 23, + "column": 15 }, "end": { - "line": 8, - "column": 39 + "line": 23, + "column": 22 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 293, - "end": 294, + "start": 540, + "end": 541, "loc": { "start": { - "line": 8, - "column": 39 + "line": 23, + "column": 22 }, "end": { - "line": 8, - "column": 40 + "line": 23, + "column": 23 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 295, - "end": 300, + "start": 541, + "end": 542, "loc": { "start": { - "line": 9, - "column": 0 + "line": 23, + "column": 23 }, "end": { - "line": 9, - "column": 5 + "line": 23, + "column": 24 } } }, @@ -13818,51 +15794,50 @@ "postfix": false, "binop": null }, - "value": "time", - "start": 301, - "end": 305, + "value": "resolve", + "start": 542, + "end": 549, "loc": { "start": { - "line": 9, - "column": 6 + "line": 23, + "column": 24 }, "end": { - "line": 9, - "column": 10 + "line": 23, + "column": 31 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 306, - "end": 307, + "start": 549, + "end": 550, "loc": { "start": { - "line": 9, - "column": 11 + "line": 23, + "column": 31 }, "end": { - "line": 9, - "column": 12 + "line": 23, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13871,16 +15846,17 @@ "postfix": false, "binop": null }, - "start": 308, - "end": 309, + "value": "reject", + "start": 551, + "end": 557, "loc": { "start": { - "line": 9, - "column": 13 + "line": 23, + "column": 33 }, "end": { - "line": 9, - "column": 14 + "line": 23, + "column": 39 } } }, @@ -13896,16 +15872,16 @@ "postfix": false, "binop": null }, - "start": 309, - "end": 310, + "start": 557, + "end": 558, "loc": { "start": { - "line": 9, - "column": 14 + "line": 23, + "column": 39 }, "end": { - "line": 9, - "column": 15 + "line": 23, + "column": 40 } } }, @@ -13922,16 +15898,16 @@ "binop": null, "updateContext": null }, - "start": 311, - "end": 313, + "start": 559, + "end": 561, "loc": { "start": { - "line": 9, - "column": 16 + "line": 23, + "column": 41 }, "end": { - "line": 9, - "column": 18 + "line": 23, + "column": 43 } } }, @@ -13947,24 +15923,24 @@ "postfix": false, "binop": null }, - "start": 314, - "end": 315, + "start": 562, + "end": 563, "loc": { "start": { - "line": 9, - "column": 19 + "line": 23, + "column": 44 }, "end": { - "line": 9, - "column": 20 + "line": 23, + "column": 45 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13974,24 +15950,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 318, - "end": 324, + "value": "if", + "start": 570, + "end": 572, "loc": { "start": { - "line": 10, - "column": 2 + "line": 24, + "column": 6 }, "end": { - "line": 10, + "line": 24, "column": 8 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13999,79 +15974,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 325, - "end": 328, - "loc": { - "start": { - "line": 10, - "column": 9 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "Date", - "start": 329, - "end": 333, + "start": 573, + "end": 574, "loc": { "start": { - "line": 10, - "column": 13 + "line": 24, + "column": 9 }, "end": { - "line": 10, - "column": 17 + "line": 24, + "column": 10 } } }, { "type": { - "label": "(", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 333, - "end": 334, + "value": "!", + "start": 574, + "end": 575, "loc": { "start": { - "line": 10, - "column": 17 + "line": 24, + "column": 10 }, "end": { - "line": 10, - "column": 18 + "line": 24, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14079,16 +16028,17 @@ "postfix": false, "binop": null }, - "start": 334, - "end": 335, + "value": "config", + "start": 575, + "end": 581, "loc": { "start": { - "line": 10, - "column": 18 + "line": 24, + "column": 11 }, "end": { - "line": 10, - "column": 19 + "line": 24, + "column": 17 } } }, @@ -14105,49 +16055,23 @@ "binop": null, "updateContext": null }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 10, - "column": 19 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toLocaleTimeString", - "start": 336, - "end": 354, + "start": 581, + "end": 582, "loc": { "start": { - "line": 10, - "column": 20 + "line": 24, + "column": 17 }, "end": { - "line": 10, - "column": 38 + "line": 24, + "column": 18 } } }, { - "type": { - "label": "(", - "beforeExpr": true, + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14156,16 +16080,17 @@ "postfix": false, "binop": null }, - "start": 354, - "end": 355, + "value": "watch", + "start": 582, + "end": 587, "loc": { "start": { - "line": 10, - "column": 38 + "line": 24, + "column": 18 }, "end": { - "line": 10, - "column": 39 + "line": 24, + "column": 23 } } }, @@ -14181,50 +16106,49 @@ "postfix": false, "binop": null }, - "start": 355, - "end": 356, + "start": 587, + "end": 588, "loc": { "start": { - "line": 10, - "column": 39 + "line": 24, + "column": 23 }, "end": { - "line": 10, - "column": 40 + "line": 24, + "column": 24 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 356, - "end": 357, + "start": 589, + "end": 590, "loc": { "start": { - "line": 10, - "column": 40 + "line": 24, + "column": 25 }, "end": { - "line": 10, - "column": 41 + "line": 24, + "column": 26 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14232,23 +16156,24 @@ "postfix": false, "binop": null }, - "start": 358, - "end": 359, + "value": "logger", + "start": 599, + "end": 605, "loc": { "start": { - "line": 11, - "column": 0 + "line": 25, + "column": 8 }, "end": { - "line": 11, - "column": 1 + "line": 25, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14258,67 +16183,49 @@ "binop": null, "updateContext": null }, - "start": 359, - "end": 360, + "start": 605, + "end": 606, "loc": { "start": { - "line": 11, - "column": 1 - }, - "end": { - "line": 11, - "column": 2 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @extends EventEmitter\n ", - "start": 362, - "end": 394, - "loc": { - "start": { - "line": 13, - "column": 0 + "line": 25, + "column": 14 }, "end": { - "line": 15, - "column": 3 + "line": 25, + "column": 15 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 395, - "end": 400, + "value": "warn", + "start": 606, + "end": 610, "loc": { "start": { - "line": 16, - "column": 0 + "line": 25, + "column": 15 }, "end": { - "line": 16, - "column": 5 + "line": 25, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14327,26 +16234,24 @@ "postfix": false, "binop": null }, - "value": "Watcher", - "start": 401, - "end": 408, + "start": 610, + "end": 611, "loc": { "start": { - "line": 16, - "column": 6 + "line": 25, + "column": 19 }, "end": { - "line": 16, - "column": 13 + "line": 25, + "column": 20 } } }, { "type": { - "label": "extends", - "keyword": "extends", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14355,25 +16260,25 @@ "binop": null, "updateContext": null }, - "value": "extends", - "start": 409, - "end": 416, + "value": "nothing to watch", + "start": 611, + "end": 629, "loc": { "start": { - "line": 16, - "column": 14 + "line": 25, + "column": 20 }, "end": { - "line": 16, - "column": 21 + "line": 25, + "column": 38 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14381,58 +16286,42 @@ "postfix": false, "binop": null }, - "value": "EventEmitter", - "start": 417, - "end": 429, + "start": 629, + "end": 630, "loc": { "start": { - "line": 16, - "column": 22 + "line": 25, + "column": 38 }, "end": { - "line": 16, - "column": 34 + "line": 25, + "column": 39 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 430, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {object} config {@link Config}\n ", - "start": 435, - "end": 487, + "start": 630, + "end": 631, "loc": { "start": { - "line": 18, - "column": 2 + "line": 25, + "column": 39 }, "end": { - "line": 20, - "column": 5 + "line": 25, + "column": 40 } } }, @@ -14448,17 +16337,17 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 490, - "end": 495, + "value": "reject", + "start": 640, + "end": 646, "loc": { "start": { - "line": 21, - "column": 2 + "line": 26, + "column": 8 }, "end": { - "line": 21, - "column": 7 + "line": 26, + "column": 14 } } }, @@ -14474,22 +16363,22 @@ "postfix": false, "binop": null }, - "start": 495, - "end": 496, + "start": 646, + "end": 647, "loc": { "start": { - "line": 21, - "column": 7 + "line": 26, + "column": 14 }, "end": { - "line": 21, - "column": 8 + "line": 26, + "column": 15 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14497,19 +16386,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 496, - "end": 502, + "value": "nothing to watch", + "start": 647, + "end": 665, "loc": { "start": { - "line": 21, - "column": 8 + "line": 26, + "column": 15 }, "end": { - "line": 21, - "column": 14 + "line": 26, + "column": 33 } } }, @@ -14525,41 +16415,42 @@ "postfix": false, "binop": null }, - "start": 502, - "end": 503, + "start": 665, + "end": 666, "loc": { "start": { - "line": 21, - "column": 14 + "line": 26, + "column": 33 }, "end": { - "line": 21, - "column": 15 + "line": 26, + "column": 34 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 504, - "end": 505, + "start": 666, + "end": 667, "loc": { "start": { - "line": 21, - "column": 16 + "line": 26, + "column": 34 }, "end": { - "line": 21, - "column": 17 + "line": 26, + "column": 35 } } }, @@ -14578,77 +16469,75 @@ "updateContext": null }, "value": "return", - "start": 510, - "end": 516, + "start": 676, + "end": 682, "loc": { "start": { - "line": 22, - "column": 4 + "line": 27, + "column": 8 }, "end": { - "line": 22, - "column": 10 + "line": 27, + "column": 14 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 517, - "end": 520, + "value": "process", + "start": 683, + "end": 690, "loc": { "start": { - "line": 22, - "column": 11 + "line": 27, + "column": 15 }, "end": { - "line": 22, - "column": 14 + "line": 27, + "column": 22 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Promise", - "start": 521, - "end": 528, + "start": 690, + "end": 691, "loc": { "start": { - "line": 22, - "column": 15 + "line": 27, + "column": 22 }, "end": { - "line": 22, - "column": 22 + "line": 27, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14657,16 +16546,17 @@ "postfix": false, "binop": null }, - "start": 528, - "end": 529, + "value": "kill", + "start": 691, + "end": 695, "loc": { "start": { - "line": 22, - "column": 22 + "line": 27, + "column": 23 }, "end": { - "line": 22, - "column": 23 + "line": 27, + "column": 27 } } }, @@ -14682,16 +16572,16 @@ "postfix": false, "binop": null }, - "start": 529, - "end": 530, + "start": 695, + "end": 696, "loc": { "start": { - "line": 22, - "column": 23 + "line": 27, + "column": 27 }, "end": { - "line": 22, - "column": 24 + "line": 27, + "column": 28 } } }, @@ -14707,24 +16597,24 @@ "postfix": false, "binop": null }, - "value": "resolve", - "start": 530, - "end": 537, + "value": "process", + "start": 696, + "end": 703, "loc": { "start": { - "line": 22, - "column": 24 + "line": 27, + "column": 28 }, "end": { - "line": 22, - "column": 31 + "line": 27, + "column": 35 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14734,16 +16624,16 @@ "binop": null, "updateContext": null }, - "start": 537, - "end": 538, + "start": 703, + "end": 704, "loc": { "start": { - "line": 22, - "column": 31 + "line": 27, + "column": 35 }, "end": { - "line": 22, - "column": 32 + "line": 27, + "column": 36 } } }, @@ -14759,50 +16649,51 @@ "postfix": false, "binop": null }, - "value": "reject", - "start": 539, - "end": 545, + "value": "pid", + "start": 704, + "end": 707, "loc": { "start": { - "line": 22, - "column": 33 + "line": 27, + "column": 36 }, "end": { - "line": 22, + "line": 27, "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 545, - "end": 546, + "start": 707, + "end": 708, "loc": { "start": { - "line": 22, + "line": 27, "column": 39 }, "end": { - "line": 22, + "line": 27, "column": 40 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14811,24 +16702,25 @@ "binop": null, "updateContext": null }, - "start": 547, - "end": 549, + "value": "SIGINT", + "start": 709, + "end": 717, "loc": { "start": { - "line": 22, + "line": 27, "column": 41 }, "end": { - "line": 22, - "column": 43 + "line": 27, + "column": 49 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14836,24 +16728,23 @@ "postfix": false, "binop": null }, - "start": 550, - "end": 551, + "start": 717, + "end": 718, "loc": { "start": { - "line": 22, - "column": 44 + "line": 27, + "column": 49 }, "end": { - "line": 22, - "column": 45 + "line": 27, + "column": 50 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14863,68 +16754,94 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 558, - "end": 560, + "start": 718, + "end": 719, "loc": { "start": { - "line": 23, + "line": 27, + "column": 50 + }, + "end": { + "line": 27, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 726, + "end": 727, + "loc": { + "start": { + "line": 28, "column": 6 }, "end": { - "line": 23, - "column": 8 + "line": 28, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 561, - "end": 562, + "value": "this", + "start": 734, + "end": 738, "loc": { "start": { - "line": 23, - "column": 9 + "line": 29, + "column": 6 }, "end": { - "line": 23, + "line": 29, "column": 10 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 562, - "end": 563, + "start": 738, + "end": 739, "loc": { "start": { - "line": 23, + "line": 29, "column": 10 }, "end": { - "line": 23, + "line": 29, "column": 11 } } @@ -14941,43 +16858,44 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 563, - "end": 569, + "value": "server", + "start": 739, + "end": 745, "loc": { "start": { - "line": 23, + "line": 29, "column": 11 }, "end": { - "line": 23, + "line": 29, "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 569, - "end": 570, + "value": "=", + "start": 746, + "end": 747, "loc": { "start": { - "line": 23, - "column": 17 + "line": 29, + "column": 18 }, "end": { - "line": 23, - "column": 18 + "line": 29, + "column": 19 } } }, @@ -14993,23 +16911,23 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 570, - "end": 575, + "value": "config", + "start": 748, + "end": 754, "loc": { "start": { - "line": 23, - "column": 18 + "line": 29, + "column": 20 }, "end": { - "line": 23, - "column": 23 + "line": 29, + "column": 26 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15017,49 +16935,78 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 754, + "end": 755, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "value": "server", + "start": 755, + "end": 761, "loc": { "start": { - "line": 23, - "column": 23 + "line": 29, + "column": 27 }, "end": { - "line": 23, - "column": 24 + "line": 29, + "column": 33 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 577, - "end": 578, + "start": 761, + "end": 762, "loc": { "start": { - "line": 23, - "column": 25 + "line": 29, + "column": 33 }, "end": { - "line": 23, - "column": 26 + "line": 29, + "column": 34 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15067,19 +17014,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 587, - "end": 593, + "value": "this", + "start": 769, + "end": 773, "loc": { "start": { - "line": 24, - "column": 8 + "line": 30, + "column": 6 }, "end": { - "line": 24, - "column": 14 + "line": 30, + "column": 10 } } }, @@ -15096,16 +17044,16 @@ "binop": null, "updateContext": null }, - "start": 593, - "end": 594, + "start": 773, + "end": 774, "loc": { "start": { - "line": 24, - "column": 14 + "line": 30, + "column": 10 }, "end": { - "line": 24, - "column": 15 + "line": 30, + "column": 11 } } }, @@ -15121,17 +17069,17 @@ "postfix": false, "binop": null }, - "value": "warn", - "start": 594, - "end": 598, + "value": "configureDemo", + "start": 774, + "end": 787, "loc": { "start": { - "line": 24, - "column": 15 + "line": 30, + "column": 11 }, "end": { - "line": 24, - "column": 19 + "line": 30, + "column": 24 } } }, @@ -15147,22 +17095,23 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 787, + "end": 788, "loc": { "start": { - "line": 24, - "column": 19 + "line": 30, + "column": 24 }, "end": { - "line": 24, - "column": 20 + "line": 30, + "column": 25 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15173,23 +17122,23 @@ "binop": null, "updateContext": null }, - "value": "nothing to watch", - "start": 599, - "end": 617, + "value": "this", + "start": 788, + "end": 792, "loc": { "start": { - "line": 24, - "column": 20 + "line": 30, + "column": 25 }, "end": { - "line": 24, - "column": 38 + "line": 30, + "column": 29 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15197,52 +17146,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 617, - "end": 618, + "start": 792, + "end": 793, "loc": { "start": { - "line": 24, - "column": 38 + "line": 30, + "column": 29 }, "end": { - "line": 24, - "column": 39 + "line": 30, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 618, - "end": 619, + "value": "server", + "start": 793, + "end": 799, "loc": { "start": { - "line": 24, - "column": 39 + "line": 30, + "column": 30 }, "end": { - "line": 24, - "column": 40 + "line": 30, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15250,48 +17200,48 @@ "postfix": false, "binop": null }, - "value": "reject", - "start": 628, - "end": 634, + "start": 799, + "end": 800, "loc": { "start": { - "line": 25, - "column": 8 + "line": 30, + "column": 36 }, "end": { - "line": 25, - "column": 14 + "line": 30, + "column": 37 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 634, - "end": 635, + "start": 800, + "end": 801, "loc": { "start": { - "line": 25, - "column": 14 + "line": 30, + "column": 37 }, "end": { - "line": 25, - "column": 15 + "line": 30, + "column": 38 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15299,26 +17249,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "nothing to watch", - "start": 635, - "end": 653, + "value": "logger", + "start": 809, + "end": 815, "loc": { "start": { - "line": 25, - "column": 15 + "line": 32, + "column": 6 }, "end": { - "line": 25, - "column": 33 + "line": 32, + "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15326,78 +17275,76 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 653, - "end": 654, + "start": 815, + "end": 816, "loc": { "start": { - "line": 25, - "column": 33 + "line": 32, + "column": 12 }, "end": { - "line": 25, - "column": 34 + "line": 32, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 654, - "end": 655, + "value": "log", + "start": 816, + "end": 819, "loc": { "start": { - "line": 25, - "column": 34 + "line": 32, + "column": 13 }, "end": { - "line": 25, - "column": 35 + "line": 32, + "column": 16 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 664, - "end": 670, + "start": 819, + "end": 820, "loc": { "start": { - "line": 26, - "column": 8 + "line": 32, + "column": 16 }, "end": { - "line": 26, - "column": 14 + "line": 32, + "column": 17 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15407,23 +17354,22 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 671, - "end": 678, + "start": 820, + "end": 821, "loc": { "start": { - "line": 26, - "column": 15 + "line": 32, + "column": 17 }, "end": { - "line": 26, - "column": 22 + "line": 32, + "column": 18 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15434,23 +17380,24 @@ "binop": null, "updateContext": null }, - "start": 678, - "end": 679, + "value": "[", + "start": 821, + "end": 822, "loc": { "start": { - "line": 26, - "column": 22 + "line": 32, + "column": 18 }, "end": { - "line": 26, - "column": 23 + "line": 32, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15459,24 +17406,23 @@ "postfix": false, "binop": null }, - "value": "kill", - "start": 679, - "end": 683, + "start": 822, + "end": 824, "loc": { "start": { - "line": 26, - "column": 23 + "line": 32, + "column": 19 }, "end": { - "line": 26, - "column": 27 + "line": 32, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15485,23 +17431,24 @@ "postfix": false, "binop": null }, - "start": 683, - "end": 684, + "value": "time", + "start": 824, + "end": 828, "loc": { "start": { - "line": 26, - "column": 27 + "line": 32, + "column": 21 }, "end": { - "line": 26, - "column": 28 + "line": 32, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15510,23 +17457,22 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 684, - "end": 691, + "start": 828, + "end": 829, "loc": { "start": { - "line": 26, - "column": 28 + "line": 32, + "column": 25 }, "end": { - "line": 26, - "column": 35 + "line": 32, + "column": 26 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15534,27 +17480,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 691, - "end": 692, + "start": 829, + "end": 830, "loc": { "start": { - "line": 26, - "column": 35 + "line": 32, + "column": 26 }, "end": { - "line": 26, - "column": 36 + "line": 32, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15562,24 +17507,23 @@ "postfix": false, "binop": null }, - "value": "pid", - "start": 692, - "end": 695, + "start": 830, + "end": 831, "loc": { "start": { - "line": 26, - "column": 36 + "line": 32, + "column": 27 }, "end": { - "line": 26, - "column": 39 + "line": 32, + "column": 28 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15589,51 +17533,50 @@ "binop": null, "updateContext": null }, - "start": 695, - "end": 696, + "value": "] ", + "start": 831, + "end": 833, "loc": { "start": { - "line": 26, - "column": 39 + "line": 32, + "column": 28 }, "end": { - "line": 26, - "column": 40 + "line": 32, + "column": 30 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "SIGINT", - "start": 697, - "end": 705, + "start": 833, + "end": 835, "loc": { "start": { - "line": 26, - "column": 41 + "line": 32, + "column": 30 }, "end": { - "line": 26, - "column": 49 + "line": 32, + "column": 32 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15641,23 +17584,24 @@ "postfix": false, "binop": null }, - "start": 705, - "end": 706, + "value": "logger", + "start": 835, + "end": 841, "loc": { "start": { - "line": 26, - "column": 49 + "line": 32, + "column": 32 }, "end": { - "line": 26, - "column": 50 + "line": 32, + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15667,24 +17611,24 @@ "binop": null, "updateContext": null }, - "start": 706, - "end": 707, + "start": 841, + "end": 842, "loc": { "start": { - "line": 26, - "column": 50 + "line": 32, + "column": 38 }, "end": { - "line": 26, - "column": 51 + "line": 32, + "column": 39 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15692,52 +17636,50 @@ "postfix": false, "binop": null }, - "start": 714, - "end": 715, + "value": "_chalk", + "start": 842, + "end": 848, "loc": { "start": { - "line": 27, - "column": 6 + "line": 32, + "column": 39 }, "end": { - "line": 27, - "column": 7 + "line": 32, + "column": 45 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 722, - "end": 726, + "start": 848, + "end": 849, "loc": { "start": { - "line": 28, - "column": 6 + "line": 32, + "column": 45 }, "end": { - "line": 28, - "column": 10 + "line": 32, + "column": 46 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15746,77 +17688,78 @@ "binop": null, "updateContext": null }, - "start": 726, - "end": 727, + "value": "Starting initial build", + "start": 849, + "end": 873, "loc": { "start": { - "line": 28, - "column": 10 + "line": 32, + "column": 46 }, "end": { - "line": 28, - "column": 11 + "line": 32, + "column": 70 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "server", - "start": 727, - "end": 733, + "start": 873, + "end": 874, "loc": { "start": { - "line": 28, - "column": 11 + "line": 32, + "column": 70 }, "end": { - "line": 28, - "column": 17 + "line": 32, + "column": 71 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 734, - "end": 735, + "value": "cyan", + "start": 875, + "end": 881, "loc": { "start": { - "line": 28, - "column": 18 + "line": 32, + "column": 72 }, "end": { - "line": 28, - "column": 19 + "line": 32, + "column": 78 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15824,23 +17767,22 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 736, - "end": 742, + "start": 881, + "end": 882, "loc": { "start": { - "line": 28, - "column": 20 + "line": 32, + "column": 78 }, "end": { - "line": 28, - "column": 26 + "line": 32, + "column": 79 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15848,106 +17790,102 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 742, - "end": 743, + "start": 882, + "end": 883, "loc": { "start": { - "line": 28, - "column": 26 + "line": 32, + "column": 79 }, "end": { - "line": 28, - "column": 27 + "line": 32, + "column": 80 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "server", - "start": 743, - "end": 749, + "value": "", + "start": 883, + "end": 883, "loc": { "start": { - "line": 28, - "column": 27 + "line": 32, + "column": 80 }, "end": { - "line": 28, - "column": 33 + "line": 32, + "column": 80 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "`", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 749, - "end": 750, + "start": 883, + "end": 884, "loc": { "start": { - "line": 28, - "column": 33 + "line": 32, + "column": 80 }, "end": { - "line": 28, - "column": 34 + "line": 32, + "column": 81 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 757, - "end": 761, + "start": 884, + "end": 885, "loc": { "start": { - "line": 29, - "column": 6 + "line": 32, + "column": 81 }, "end": { - "line": 29, - "column": 10 + "line": 32, + "column": 82 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15957,22 +17895,23 @@ "binop": null, "updateContext": null }, - "start": 761, - "end": 762, + "start": 885, + "end": 886, "loc": { "start": { - "line": 29, - "column": 10 + "line": 32, + "column": 82 }, "end": { - "line": 29, - "column": 11 + "line": 32, + "column": 83 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15980,51 +17919,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "configureDemo", - "start": 762, - "end": 775, + "value": "this", + "start": 893, + "end": 897, "loc": { "start": { - "line": 29, - "column": 11 + "line": 33, + "column": 6 }, "end": { - "line": 29, - "column": 24 + "line": 33, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 775, - "end": 776, + "start": 897, + "end": 898, "loc": { "start": { - "line": 29, - "column": 24 + "line": 33, + "column": 10 }, "end": { - "line": 29, - "column": 25 + "line": 33, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16032,46 +17972,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 776, - "end": 780, + "value": "runWorker", + "start": 898, + "end": 907, "loc": { "start": { - "line": 29, - "column": 25 + "line": 33, + "column": 11 }, "end": { - "line": 29, - "column": 29 + "line": 33, + "column": 20 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 780, - "end": 781, + "start": 907, + "end": 908, "loc": { "start": { - "line": 29, - "column": 29 + "line": 33, + "column": 20 }, "end": { - "line": 29, - "column": 30 + "line": 33, + "column": 21 } } }, @@ -16087,17 +18025,17 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 781, - "end": 787, + "value": "config", + "start": 908, + "end": 914, "loc": { "start": { - "line": 29, - "column": 30 + "line": 33, + "column": 21 }, "end": { - "line": 29, - "column": 36 + "line": 33, + "column": 27 } } }, @@ -16113,16 +18051,16 @@ "postfix": false, "binop": null }, - "start": 787, - "end": 788, + "start": 914, + "end": 915, "loc": { "start": { - "line": 29, - "column": 36 + "line": 33, + "column": 27 }, "end": { - "line": 29, - "column": 37 + "line": 33, + "column": 28 } } }, @@ -16139,16 +18077,16 @@ "binop": null, "updateContext": null }, - "start": 788, - "end": 789, + "start": 915, + "end": 916, "loc": { "start": { - "line": 29, - "column": 37 + "line": 33, + "column": 28 }, "end": { - "line": 29, - "column": 38 + "line": 33, + "column": 29 } } }, @@ -16165,15 +18103,15 @@ "binop": null }, "value": "logger", - "start": 797, - "end": 803, + "start": 924, + "end": 930, "loc": { "start": { - "line": 31, + "line": 35, "column": 6 }, "end": { - "line": 31, + "line": 35, "column": 12 } } @@ -16191,15 +18129,15 @@ "binop": null, "updateContext": null }, - "start": 803, - "end": 804, + "start": 930, + "end": 931, "loc": { "start": { - "line": 31, + "line": 35, "column": 12 }, "end": { - "line": 31, + "line": 35, "column": 13 } } @@ -16217,15 +18155,15 @@ "binop": null }, "value": "log", - "start": 804, - "end": 807, + "start": 931, + "end": 934, "loc": { "start": { - "line": 31, + "line": 35, "column": 13 }, "end": { - "line": 31, + "line": 35, "column": 16 } } @@ -16242,15 +18180,15 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 934, + "end": 935, "loc": { "start": { - "line": 31, + "line": 35, "column": 16 }, "end": { - "line": 31, + "line": 35, "column": 17 } } @@ -16267,15 +18205,15 @@ "postfix": false, "binop": null }, - "start": 808, - "end": 809, + "start": 935, + "end": 936, "loc": { "start": { - "line": 31, + "line": 35, "column": 17 }, "end": { - "line": 31, + "line": 35, "column": 18 } } @@ -16294,15 +18232,15 @@ "updateContext": null }, "value": "[", - "start": 809, - "end": 810, + "start": 936, + "end": 937, "loc": { "start": { - "line": 31, + "line": 35, "column": 18 }, "end": { - "line": 31, + "line": 35, "column": 19 } } @@ -16319,15 +18257,15 @@ "postfix": false, "binop": null }, - "start": 810, - "end": 812, + "start": 937, + "end": 939, "loc": { "start": { - "line": 31, + "line": 35, "column": 19 }, "end": { - "line": 31, + "line": 35, "column": 21 } } @@ -16345,15 +18283,15 @@ "binop": null }, "value": "time", - "start": 812, - "end": 816, + "start": 939, + "end": 943, "loc": { "start": { - "line": 31, + "line": 35, "column": 21 }, "end": { - "line": 31, + "line": 35, "column": 25 } } @@ -16370,15 +18308,15 @@ "postfix": false, "binop": null }, - "start": 816, - "end": 817, + "start": 943, + "end": 944, "loc": { "start": { - "line": 31, + "line": 35, "column": 25 }, "end": { - "line": 31, + "line": 35, "column": 26 } } @@ -16395,15 +18333,15 @@ "postfix": false, "binop": null }, - "start": 817, - "end": 818, + "start": 944, + "end": 945, "loc": { "start": { - "line": 31, + "line": 35, "column": 26 }, "end": { - "line": 31, + "line": 35, "column": 27 } } @@ -16420,15 +18358,15 @@ "postfix": false, "binop": null }, - "start": 818, - "end": 819, + "start": 945, + "end": 946, "loc": { "start": { - "line": 31, + "line": 35, "column": 27 }, "end": { - "line": 31, + "line": 35, "column": 28 } } @@ -16447,15 +18385,15 @@ "updateContext": null }, "value": "] ", - "start": 819, - "end": 821, + "start": 946, + "end": 948, "loc": { "start": { - "line": 31, + "line": 35, "column": 28 }, "end": { - "line": 31, + "line": 35, "column": 30 } } @@ -16472,15 +18410,15 @@ "postfix": false, "binop": null }, - "start": 821, - "end": 823, + "start": 948, + "end": 950, "loc": { "start": { - "line": 31, + "line": 35, "column": 30 }, "end": { - "line": 31, + "line": 35, "column": 32 } } @@ -16498,15 +18436,15 @@ "binop": null }, "value": "logger", - "start": 823, - "end": 829, + "start": 950, + "end": 956, "loc": { "start": { - "line": 31, + "line": 35, "column": 32 }, "end": { - "line": 31, + "line": 35, "column": 38 } } @@ -16524,15 +18462,15 @@ "binop": null, "updateContext": null }, - "start": 829, - "end": 830, + "start": 956, + "end": 957, "loc": { "start": { - "line": 31, + "line": 35, "column": 38 }, "end": { - "line": 31, + "line": 35, "column": 39 } } @@ -16550,15 +18488,15 @@ "binop": null }, "value": "_chalk", - "start": 830, - "end": 836, + "start": 957, + "end": 963, "loc": { "start": { - "line": 31, + "line": 35, "column": 39 }, "end": { - "line": 31, + "line": 35, "column": 45 } } @@ -16575,15 +18513,15 @@ "postfix": false, "binop": null }, - "start": 836, - "end": 837, + "start": 963, + "end": 964, "loc": { "start": { - "line": 31, + "line": 35, "column": 45 }, "end": { - "line": 31, + "line": 35, "column": 46 } } @@ -16601,17 +18539,17 @@ "binop": null, "updateContext": null }, - "value": "Starting initial build", - "start": 837, - "end": 861, + "value": "Watching files for changes", + "start": 964, + "end": 992, "loc": { "start": { - "line": 31, + "line": 35, "column": 46 }, "end": { - "line": 31, - "column": 70 + "line": 35, + "column": 74 } } }, @@ -16628,16 +18566,16 @@ "binop": null, "updateContext": null }, - "start": 861, - "end": 862, + "start": 992, + "end": 993, "loc": { "start": { - "line": 31, - "column": 70 + "line": 35, + "column": 74 }, "end": { - "line": 31, - "column": 71 + "line": 35, + "column": 75 } } }, @@ -16655,16 +18593,118 @@ "updateContext": null }, "value": "cyan", - "start": 863, - "end": 869, + "start": 994, + "end": 1000, "loc": { "start": { - "line": 31, - "column": 72 + "line": 35, + "column": 76 }, "end": { - "line": 31, - "column": 78 + "line": 35, + "column": 82 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1000, + "end": 1001, + "loc": { + "start": { + "line": 35, + "column": 82 + }, + "end": { + "line": 35, + "column": 83 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1001, + "end": 1002, + "loc": { + "start": { + "line": 35, + "column": 83 + }, + "end": { + "line": 35, + "column": 84 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1002, + "end": 1002, + "loc": { + "start": { + "line": 35, + "column": 84 + }, + "end": { + "line": 35, + "column": 84 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1002, + "end": 1003, + "loc": { + "start": { + "line": 35, + "column": 84 + }, + "end": { + "line": 35, + "column": 85 } } }, @@ -16678,26 +18718,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null + }, + "start": 1003, + "end": 1004, + "loc": { + "start": { + "line": 35, + "column": 85 + }, + "end": { + "line": 35, + "column": 86 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1004, + "end": 1005, + "loc": { + "start": { + "line": 35, + "column": 86 + }, + "end": { + "line": 35, + "column": 87 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "start": 869, - "end": 870, + "value": "let", + "start": 1013, + "end": 1016, "loc": { "start": { - "line": 31, - "column": 78 + "line": 37, + "column": 6 }, "end": { - "line": 31, - "column": 79 + "line": 37, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16705,50 +18799,51 @@ "postfix": false, "binop": null }, - "start": 870, - "end": 871, + "value": "watchers", + "start": 1017, + "end": 1025, "loc": { "start": { - "line": 31, - "column": 79 + "line": 37, + "column": 10 }, "end": { - "line": 31, - "column": 80 + "line": 37, + "column": 18 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "", - "start": 871, - "end": 871, + "value": "=", + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 31, - "column": 80 + "line": 37, + "column": 19 }, "end": { - "line": 31, - "column": 80 + "line": 37, + "column": 20 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16757,22 +18852,22 @@ "postfix": false, "binop": null }, - "start": 871, - "end": 872, + "start": 1028, + "end": 1029, "loc": { "start": { - "line": 31, - "column": 80 + "line": 37, + "column": 21 }, "end": { - "line": 31, - "column": 81 + "line": 37, + "column": 22 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16782,16 +18877,16 @@ "postfix": false, "binop": null }, - "start": 872, - "end": 873, + "start": 1029, + "end": 1030, "loc": { "start": { - "line": 31, - "column": 81 + "line": 37, + "column": 22 }, "end": { - "line": 31, - "column": 82 + "line": 37, + "column": 23 } } }, @@ -16808,103 +18903,104 @@ "binop": null, "updateContext": null }, - "start": 873, - "end": 874, + "start": 1030, + "end": 1031, "loc": { "start": { - "line": 31, - "column": 82 + "line": 37, + "column": 23 }, "end": { - "line": 31, - "column": 83 + "line": 37, + "column": 24 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "for", + "keyword": "for", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 881, - "end": 885, + "value": "for", + "start": 1038, + "end": 1041, "loc": { "start": { - "line": 32, + "line": 38, "column": 6 }, "end": { - "line": 32, - "column": 10 + "line": 38, + "column": 9 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 885, - "end": 886, + "start": 1042, + "end": 1043, "loc": { "start": { - "line": 32, + "line": 38, "column": 10 }, "end": { - "line": 32, + "line": 38, "column": 11 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "runWorker", - "start": 886, - "end": 895, + "value": "let", + "start": 1043, + "end": 1046, "loc": { "start": { - "line": 32, + "line": 38, "column": 11 }, "end": { - "line": 32, - "column": 20 + "line": 38, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16913,16 +19009,17 @@ "postfix": false, "binop": null }, - "start": 895, - "end": 896, + "value": "watch", + "start": 1047, + "end": 1052, "loc": { "start": { - "line": 32, - "column": 20 + "line": 38, + "column": 15 }, "end": { - "line": 32, - "column": 21 + "line": 38, + "column": 20 } } }, @@ -16938,25 +19035,25 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 896, - "end": 902, + "value": "of", + "start": 1053, + "end": 1055, "loc": { "start": { - "line": 32, + "line": 38, "column": 21 }, "end": { - "line": 32, - "column": 27 + "line": 38, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16964,23 +19061,24 @@ "postfix": false, "binop": null }, - "start": 902, - "end": 903, + "value": "config", + "start": 1056, + "end": 1062, "loc": { "start": { - "line": 32, - "column": 27 + "line": 38, + "column": 24 }, "end": { - "line": 32, - "column": 28 + "line": 38, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -16990,16 +19088,16 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 1062, + "end": 1063, "loc": { "start": { - "line": 32, - "column": 28 + "line": 38, + "column": 30 }, "end": { - "line": 32, - "column": 29 + "line": 38, + "column": 31 } } }, @@ -17015,23 +19113,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 912, - "end": 918, + "value": "watch", + "start": 1063, + "end": 1068, "loc": { "start": { - "line": 34, - "column": 6 + "line": 38, + "column": 31 }, "end": { - "line": 34, - "column": 12 + "line": 38, + "column": 36 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17039,19 +19137,43 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 918, - "end": 919, + "start": 1068, + "end": 1069, "loc": { "start": { - "line": 34, - "column": 12 + "line": 38, + "column": 36 }, "end": { - "line": 34, - "column": 13 + "line": 38, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1070, + "end": 1071, + "loc": { + "start": { + "line": 38, + "column": 38 + }, + "end": { + "line": 38, + "column": 39 } } }, @@ -17067,23 +19189,23 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 919, - "end": 922, + "value": "watchers", + "start": 1080, + "end": 1088, "loc": { "start": { - "line": 34, - "column": 13 + "line": 39, + "column": 8 }, "end": { - "line": 34, + "line": 39, "column": 16 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -17091,24 +19213,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 922, - "end": 923, + "start": 1088, + "end": 1089, "loc": { "start": { - "line": 34, + "line": 39, "column": 16 }, "end": { - "line": 34, + "line": 39, "column": 17 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17118,22 +19241,23 @@ "postfix": false, "binop": null }, - "start": 923, - "end": 924, + "value": "watch", + "start": 1089, + "end": 1094, "loc": { "start": { - "line": 34, + "line": 39, "column": 17 }, "end": { - "line": 34, - "column": 18 + "line": 39, + "column": 22 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17144,24 +19268,23 @@ "binop": null, "updateContext": null }, - "value": "[", - "start": 924, - "end": 925, + "start": 1094, + "end": 1095, "loc": { "start": { - "line": 34, - "column": 18 + "line": 39, + "column": 22 }, "end": { - "line": 34, - "column": 19 + "line": 39, + "column": 23 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17170,75 +19293,78 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 927, + "value": "task", + "start": 1095, + "end": 1099, "loc": { "start": { - "line": 34, - "column": 19 + "line": 39, + "column": 23 }, "end": { - "line": 34, - "column": 21 + "line": 39, + "column": 27 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "time", - "start": 927, - "end": 931, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 34, - "column": 21 + "line": 39, + "column": 27 }, "end": { - "line": 34, - "column": 25 + "line": 39, + "column": 28 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 931, - "end": 932, + "value": "=", + "start": 1101, + "end": 1102, "loc": { "start": { - "line": 34, - "column": 25 + "line": 39, + "column": 29 }, "end": { - "line": 34, - "column": 26 + "line": 39, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17246,22 +19372,23 @@ "postfix": false, "binop": null }, - "start": 932, - "end": 933, + "value": "chokidar", + "start": 1103, + "end": 1111, "loc": { "start": { - "line": 34, - "column": 26 + "line": 39, + "column": 31 }, "end": { - "line": 34, - "column": 27 + "line": 39, + "column": 39 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17269,51 +19396,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 933, - "end": 934, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 34, - "column": 27 + "line": 39, + "column": 39 }, "end": { - "line": 34, - "column": 28 + "line": 39, + "column": 40 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "] ", - "start": 934, - "end": 936, + "value": "watch", + "start": 1112, + "end": 1117, "loc": { "start": { - "line": 34, - "column": 28 + "line": 39, + "column": 40 }, "end": { - "line": 34, - "column": 30 + "line": 39, + "column": 45 } } }, { "type": { - "label": "${", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -17323,16 +19450,16 @@ "postfix": false, "binop": null }, - "start": 936, - "end": 938, + "start": 1117, + "end": 1118, "loc": { "start": { - "line": 34, - "column": 30 + "line": 39, + "column": 45 }, "end": { - "line": 34, - "column": 32 + "line": 39, + "column": 46 } } }, @@ -17348,17 +19475,17 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 938, - "end": 944, + "value": "watch", + "start": 1118, + "end": 1123, "loc": { "start": { - "line": 34, - "column": 32 + "line": 39, + "column": 46 }, "end": { - "line": 34, - "column": 38 + "line": 39, + "column": 51 } } }, @@ -17375,16 +19502,16 @@ "binop": null, "updateContext": null }, - "start": 944, - "end": 945, + "start": 1123, + "end": 1124, "loc": { "start": { - "line": 34, - "column": 38 + "line": 39, + "column": 51 }, "end": { - "line": 34, - "column": 39 + "line": 39, + "column": 52 } } }, @@ -17400,48 +19527,49 @@ "postfix": false, "binop": null }, - "value": "_chalk", - "start": 945, - "end": 951, + "value": "src", + "start": 1124, + "end": 1127, "loc": { "start": { - "line": 34, - "column": 39 + "line": 39, + "column": 52 }, "end": { - "line": 34, - "column": 45 + "line": 39, + "column": 55 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 951, - "end": 952, + "start": 1127, + "end": 1128, "loc": { "start": { - "line": 34, - "column": 45 + "line": 39, + "column": 55 }, "end": { - "line": 34, - "column": 46 + "line": 39, + "column": 56 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17449,27 +19577,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Watching files for changes", - "start": 952, - "end": 980, + "value": "watch", + "start": 1129, + "end": 1134, "loc": { "start": { - "line": 34, - "column": 46 + "line": 39, + "column": 57 }, "end": { - "line": 34, - "column": 74 + "line": 39, + "column": 62 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17479,22 +19606,22 @@ "binop": null, "updateContext": null }, - "start": 980, - "end": 981, + "start": 1134, + "end": 1135, "loc": { "start": { - "line": 34, - "column": 74 + "line": 39, + "column": 62 }, "end": { - "line": 34, - "column": 75 + "line": 39, + "column": 63 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17502,20 +19629,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "cyan", - "start": 982, - "end": 988, + "value": "options", + "start": 1135, + "end": 1142, "loc": { "start": { - "line": 34, - "column": 76 + "line": 39, + "column": 63 }, "end": { - "line": 34, - "column": 82 + "line": 39, + "column": 70 } } }, @@ -17531,101 +19657,102 @@ "postfix": false, "binop": null }, - "start": 988, - "end": 989, + "start": 1142, + "end": 1143, "loc": { "start": { - "line": 34, - "column": 82 + "line": 39, + "column": 70 }, "end": { - "line": 34, - "column": 83 + "line": 39, + "column": 71 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 989, - "end": 990, + "start": 1143, + "end": 1144, "loc": { "start": { - "line": 34, - "column": 83 + "line": 39, + "column": 71 }, "end": { - "line": 34, - "column": 84 + "line": 39, + "column": 72 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 990, - "end": 990, + "value": "watchers", + "start": 1153, + "end": 1161, "loc": { "start": { - "line": 34, - "column": 84 + "line": 40, + "column": 8 }, "end": { - "line": 34, - "column": 84 + "line": 40, + "column": 16 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 990, - "end": 991, + "start": 1161, + "end": 1162, "loc": { "start": { - "line": 34, - "column": 84 + "line": 40, + "column": 16 }, "end": { - "line": 34, - "column": 85 + "line": 40, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17633,23 +19760,24 @@ "postfix": false, "binop": null }, - "start": 991, - "end": 992, + "value": "watch", + "start": 1162, + "end": 1167, "loc": { "start": { - "line": 34, - "column": 85 + "line": 40, + "column": 17 }, "end": { - "line": 34, - "column": 86 + "line": 40, + "column": 22 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17659,104 +19787,101 @@ "binop": null, "updateContext": null }, - "start": 992, - "end": 993, + "start": 1167, + "end": 1168, "loc": { "start": { - "line": 34, - "column": 86 + "line": 40, + "column": 22 }, "end": { - "line": 34, - "column": 87 + "line": 40, + "column": 23 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1001, - "end": 1004, + "value": "task", + "start": 1168, + "end": 1172, "loc": { "start": { - "line": 36, - "column": 6 + "line": 40, + "column": 23 }, "end": { - "line": 36, - "column": 9 + "line": 40, + "column": 27 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "watchers", - "start": 1005, - "end": 1013, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 36, - "column": 10 + "line": 40, + "column": 27 }, "end": { - "line": 36, - "column": 18 + "line": 40, + "column": 28 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1014, - "end": 1015, + "start": 1173, + "end": 1174, "loc": { "start": { - "line": 36, - "column": 19 + "line": 40, + "column": 28 }, "end": { - "line": 36, - "column": 20 + "line": 40, + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17765,24 +19890,25 @@ "postfix": false, "binop": null }, - "start": 1016, - "end": 1017, + "value": "on", + "start": 1174, + "end": 1176, "loc": { "start": { - "line": 36, - "column": 21 + "line": 40, + "column": 29 }, "end": { - "line": 36, - "column": 22 + "line": 40, + "column": 31 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17790,24 +19916,24 @@ "postfix": false, "binop": null }, - "start": 1017, - "end": 1018, + "start": 1176, + "end": 1177, "loc": { "start": { - "line": 36, - "column": 22 + "line": 40, + "column": 31 }, "end": { - "line": 36, - "column": 23 + "line": 40, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17816,44 +19942,43 @@ "binop": null, "updateContext": null }, - "start": 1018, - "end": 1019, + "value": "change", + "start": 1177, + "end": 1185, "loc": { "start": { - "line": 36, - "column": 23 + "line": 40, + "column": 32 }, "end": { - "line": 36, - "column": 24 + "line": 40, + "column": 40 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 1026, - "end": 1029, + "start": 1185, + "end": 1186, "loc": { "start": { - "line": 37, - "column": 6 + "line": 40, + "column": 40 }, "end": { - "line": 37, - "column": 9 + "line": 40, + "column": 41 } } }, @@ -17869,23 +19994,22 @@ "postfix": false, "binop": null }, - "start": 1030, - "end": 1031, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 37, - "column": 10 + "line": 40, + "column": 42 }, "end": { - "line": 37, - "column": 11 + "line": 40, + "column": 43 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17893,53 +20017,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1031, - "end": 1034, + "start": 1188, + "end": 1189, "loc": { "start": { - "line": 37, - "column": 11 + "line": 40, + "column": 43 }, "end": { - "line": 37, - "column": 14 + "line": 40, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "watch", - "start": 1035, - "end": 1040, + "start": 1190, + "end": 1192, "loc": { "start": { - "line": 37, - "column": 15 + "line": 40, + "column": 45 }, "end": { - "line": 37, - "column": 20 + "line": 40, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17948,23 +20070,23 @@ "postfix": false, "binop": null }, - "value": "of", - "start": 1041, - "end": 1043, + "start": 1193, + "end": 1194, "loc": { "start": { - "line": 37, - "column": 21 + "line": 40, + "column": 48 }, "end": { - "line": 37, - "column": 23 + "line": 40, + "column": 49 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17972,19 +20094,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 1044, - "end": 1050, + "value": "this", + "start": 1205, + "end": 1209, "loc": { "start": { - "line": 37, - "column": 24 + "line": 41, + "column": 10 }, "end": { - "line": 37, - "column": 30 + "line": 41, + "column": 14 } } }, @@ -18001,16 +20124,16 @@ "binop": null, "updateContext": null }, - "start": 1050, - "end": 1051, + "start": 1209, + "end": 1210, "loc": { "start": { - "line": 37, - "column": 30 + "line": 41, + "column": 14 }, "end": { - "line": 37, - "column": 31 + "line": 41, + "column": 15 } } }, @@ -18026,25 +20149,25 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1051, - "end": 1056, + "value": "runWorker", + "start": 1210, + "end": 1219, "loc": { "start": { - "line": 37, - "column": 31 + "line": 41, + "column": 15 }, "end": { - "line": 37, - "column": 36 + "line": 41, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18052,23 +20175,23 @@ "postfix": false, "binop": null }, - "start": 1056, - "end": 1057, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 37, - "column": 36 + "line": 41, + "column": 24 }, "end": { - "line": 37, - "column": 37 + "line": 41, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18077,16 +20200,43 @@ "postfix": false, "binop": null }, - "start": 1058, - "end": 1059, + "value": "watch", + "start": 1220, + "end": 1225, "loc": { "start": { - "line": 37, - "column": 38 + "line": 41, + "column": 25 }, "end": { - "line": 37, - "column": 39 + "line": 41, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1225, + "end": 1226, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 31 } } }, @@ -18102,25 +20252,25 @@ "postfix": false, "binop": null }, - "value": "watchers", - "start": 1068, - "end": 1076, + "value": "task", + "start": 1226, + "end": 1230, "loc": { "start": { - "line": 38, - "column": 8 + "line": 41, + "column": 31 }, "end": { - "line": 38, - "column": 16 + "line": 41, + "column": 35 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18129,16 +20279,16 @@ "binop": null, "updateContext": null }, - "start": 1076, - "end": 1077, + "start": 1230, + "end": 1231, "loc": { "start": { - "line": 38, - "column": 16 + "line": 41, + "column": 35 }, "end": { - "line": 38, - "column": 17 + "line": 41, + "column": 36 } } }, @@ -18154,23 +20304,23 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1077, - "end": 1082, + "value": "config", + "start": 1232, + "end": 1238, "loc": { "start": { - "line": 38, - "column": 17 + "line": 41, + "column": 37 }, "end": { - "line": 38, - "column": 22 + "line": 41, + "column": 43 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18178,51 +20328,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1082, - "end": 1083, + "start": 1238, + "end": 1239, "loc": { "start": { - "line": 38, - "column": 22 + "line": 41, + "column": 43 }, "end": { - "line": 38, - "column": 23 + "line": 41, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "task", - "start": 1083, - "end": 1087, + "start": 1239, + "end": 1240, "loc": { "start": { - "line": 38, - "column": 23 + "line": 41, + "column": 44 }, "end": { - "line": 38, - "column": 27 + "line": 41, + "column": 45 } } }, { "type": { - "label": "]", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18230,78 +20379,75 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1087, - "end": 1088, + "start": 1249, + "end": 1250, "loc": { "start": { - "line": 38, - "column": 27 + "line": 42, + "column": 8 }, "end": { - "line": 38, - "column": 28 + "line": 42, + "column": 9 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1089, - "end": 1090, + "start": 1250, + "end": 1251, "loc": { "start": { - "line": 38, - "column": 29 + "line": 42, + "column": 9 }, "end": { - "line": 38, - "column": 30 + "line": 42, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "chokidar", - "start": 1091, - "end": 1099, + "start": 1251, + "end": 1252, "loc": { "start": { - "line": 38, - "column": 31 + "line": 42, + "column": 10 }, "end": { - "line": 38, - "column": 39 + "line": 42, + "column": 11 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18309,19 +20455,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1099, - "end": 1100, + "start": 1259, + "end": 1260, "loc": { "start": { - "line": 38, - "column": 39 + "line": 43, + "column": 6 }, "end": { - "line": 38, - "column": 40 + "line": 43, + "column": 7 } } }, @@ -18337,17 +20482,17 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1100, - "end": 1105, + "value": "resolve", + "start": 1267, + "end": 1274, "loc": { "start": { - "line": 38, - "column": 40 + "line": 44, + "column": 6 }, "end": { - "line": 38, - "column": 45 + "line": 44, + "column": 13 } } }, @@ -18363,24 +20508,24 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 38, - "column": 45 + "line": 44, + "column": 13 }, "end": { - "line": 38, - "column": 46 + "line": 44, + "column": 14 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18388,24 +20533,23 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1106, - "end": 1111, + "start": 1275, + "end": 1276, "loc": { "start": { - "line": 38, - "column": 46 + "line": 44, + "column": 14 }, "end": { - "line": 38, - "column": 51 + "line": 44, + "column": 15 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18415,24 +20559,24 @@ "binop": null, "updateContext": null }, - "start": 1111, - "end": 1112, + "start": 1276, + "end": 1277, "loc": { "start": { - "line": 38, - "column": 51 + "line": 44, + "column": 15 }, "end": { - "line": 38, - "column": 52 + "line": 44, + "column": 16 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18440,75 +20584,73 @@ "postfix": false, "binop": null }, - "value": "src", - "start": 1112, - "end": 1115, + "start": 1282, + "end": 1283, "loc": { "start": { - "line": 38, - "column": 52 + "line": 45, + "column": 4 }, "end": { - "line": 38, - "column": 55 + "line": 45, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1115, - "end": 1116, + "start": 1283, + "end": 1284, "loc": { "start": { - "line": 38, - "column": 55 + "line": 45, + "column": 5 }, "end": { - "line": 38, - "column": 56 + "line": 45, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "watch", - "start": 1117, - "end": 1122, + "start": 1284, + "end": 1285, "loc": { "start": { - "line": 38, - "column": 57 + "line": 45, + "column": 6 }, "end": { - "line": 38, - "column": 62 + "line": 45, + "column": 7 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18516,19 +20658,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1122, - "end": 1123, + "start": 1288, + "end": 1289, "loc": { "start": { - "line": 38, - "column": 62 + "line": 46, + "column": 2 }, "end": { - "line": 38, - "column": 63 + "line": 46, + "column": 3 } } }, @@ -18544,25 +20685,25 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 1123, - "end": 1130, + "value": "configureDemo", + "start": 1293, + "end": 1306, "loc": { "start": { - "line": 38, - "column": 63 + "line": 48, + "column": 2 }, "end": { - "line": 38, - "column": 70 + "line": 48, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18570,50 +20711,50 @@ "postfix": false, "binop": null }, - "start": 1130, - "end": 1131, + "start": 1306, + "end": 1307, "loc": { "start": { - "line": 38, - "column": 70 + "line": 48, + "column": 15 }, "end": { - "line": 38, - "column": 71 + "line": 48, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1131, - "end": 1132, + "value": "server", + "start": 1307, + "end": 1313, "loc": { "start": { - "line": 38, - "column": 71 + "line": 48, + "column": 16 }, "end": { - "line": 38, - "column": 72 + "line": 48, + "column": 22 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18621,23 +20762,22 @@ "postfix": false, "binop": null }, - "value": "watchers", - "start": 1141, - "end": 1149, + "start": 1313, + "end": 1314, "loc": { "start": { - "line": 39, - "column": 8 + "line": 48, + "column": 22 }, "end": { - "line": 39, - "column": 16 + "line": 48, + "column": 23 } } }, { "type": { - "label": "[", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -18645,19 +20785,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1149, - "end": 1150, + "start": 1315, + "end": 1316, "loc": { "start": { - "line": 39, - "column": 16 + "line": 48, + "column": 24 }, "end": { - "line": 39, - "column": 17 + "line": 48, + "column": 25 } } }, @@ -18673,17 +20812,17 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1150, - "end": 1155, + "value": "logger", + "start": 1321, + "end": 1327, "loc": { "start": { - "line": 39, - "column": 17 + "line": 49, + "column": 4 }, "end": { - "line": 39, - "column": 22 + "line": 49, + "column": 10 } } }, @@ -18700,16 +20839,16 @@ "binop": null, "updateContext": null }, - "start": 1155, - "end": 1156, + "start": 1327, + "end": 1328, "loc": { "start": { - "line": 39, - "column": 22 + "line": 49, + "column": 10 }, "end": { - "line": 39, - "column": 23 + "line": 49, + "column": 11 } } }, @@ -18725,101 +20864,100 @@ "postfix": false, "binop": null }, - "value": "task", - "start": 1156, - "end": 1160, + "value": "log", + "start": 1328, + "end": 1331, "loc": { "start": { - "line": 39, - "column": 23 + "line": 49, + "column": 11 }, "end": { - "line": 39, - "column": 27 + "line": 49, + "column": 14 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1160, - "end": 1161, + "start": 1331, + "end": 1332, "loc": { "start": { - "line": 39, - "column": 27 + "line": 49, + "column": 14 }, "end": { - "line": 39, - "column": 28 + "line": 49, + "column": 15 } } }, { "type": { - "label": ".", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1161, - "end": 1162, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 39, - "column": 28 + "line": 49, + "column": 15 }, "end": { - "line": 39, - "column": 29 + "line": 49, + "column": 16 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "on", - "start": 1162, - "end": 1164, + "value": "[", + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 39, - "column": 29 + "line": 49, + "column": 16 }, "end": { - "line": 39, - "column": 31 + "line": 49, + "column": 17 } } }, { "type": { - "label": "(", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -18829,22 +20967,22 @@ "postfix": false, "binop": null }, - "start": 1164, - "end": 1165, + "start": 1334, + "end": 1336, "loc": { "start": { - "line": 39, - "column": 31 + "line": 49, + "column": 17 }, "end": { - "line": 39, - "column": 32 + "line": 49, + "column": 19 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18852,54 +20990,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "change", - "start": 1165, - "end": 1173, + "value": "time", + "start": 1336, + "end": 1340, "loc": { "start": { - "line": 39, - "column": 32 + "line": 49, + "column": 19 }, "end": { - "line": 39, - "column": 40 + "line": 49, + "column": 23 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1173, - "end": 1174, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 39, - "column": 40 + "line": 49, + "column": 23 }, "end": { - "line": 39, - "column": 41 + "line": 49, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18907,22 +21043,22 @@ "postfix": false, "binop": null }, - "start": 1175, - "end": 1176, + "start": 1341, + "end": 1342, "loc": { "start": { - "line": 39, - "column": 42 + "line": 49, + "column": 24 }, "end": { - "line": 39, - "column": 43 + "line": 49, + "column": 25 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18932,23 +21068,23 @@ "postfix": false, "binop": null }, - "start": 1176, - "end": 1177, + "start": 1342, + "end": 1343, "loc": { "start": { - "line": 39, - "column": 43 + "line": 49, + "column": 25 }, "end": { - "line": 39, - "column": 44 + "line": 49, + "column": 26 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18958,22 +21094,23 @@ "binop": null, "updateContext": null }, - "start": 1178, - "end": 1180, + "value": "] ", + "start": 1343, + "end": 1345, "loc": { "start": { - "line": 39, - "column": 45 + "line": 49, + "column": 26 }, "end": { - "line": 39, - "column": 47 + "line": 49, + "column": 28 } } }, { "type": { - "label": "{", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -18983,23 +21120,22 @@ "postfix": false, "binop": null }, - "start": 1181, - "end": 1182, + "start": 1345, + "end": 1347, "loc": { "start": { - "line": 39, - "column": 48 + "line": 49, + "column": 28 }, "end": { - "line": 39, - "column": 49 + "line": 49, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19007,20 +21143,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1193, - "end": 1197, + "value": "logger", + "start": 1347, + "end": 1353, "loc": { "start": { - "line": 40, - "column": 10 + "line": 49, + "column": 30 }, "end": { - "line": 40, - "column": 14 + "line": 49, + "column": 36 } } }, @@ -19037,16 +21172,16 @@ "binop": null, "updateContext": null }, - "start": 1197, - "end": 1198, + "start": 1353, + "end": 1354, "loc": { "start": { - "line": 40, - "column": 14 + "line": 49, + "column": 36 }, "end": { - "line": 40, - "column": 15 + "line": 49, + "column": 37 } } }, @@ -19062,17 +21197,17 @@ "postfix": false, "binop": null }, - "value": "runWorker", - "start": 1198, - "end": 1207, + "value": "_chalk", + "start": 1354, + "end": 1360, "loc": { "start": { - "line": 40, - "column": 15 + "line": 49, + "column": 37 }, "end": { - "line": 40, - "column": 24 + "line": 49, + "column": 43 } } }, @@ -19088,50 +21223,24 @@ "postfix": false, "binop": null }, - "start": 1207, - "end": 1208, - "loc": { - "start": { - "line": 40, - "column": 24 - }, - "end": { - "line": 40, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "watch", - "start": 1208, - "end": 1213, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 40, - "column": 25 + "line": 49, + "column": 43 }, "end": { - "line": 40, - "column": 30 + "line": 49, + "column": 44 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19140,50 +21249,51 @@ "binop": null, "updateContext": null }, - "start": 1213, - "end": 1214, + "value": "Configuring demo", + "start": 1361, + "end": 1379, "loc": { "start": { - "line": 40, - "column": 30 + "line": 49, + "column": 44 }, "end": { - "line": 40, - "column": 31 + "line": 49, + "column": 62 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "task", - "start": 1214, - "end": 1218, + "start": 1379, + "end": 1380, "loc": { "start": { - "line": 40, - "column": 31 + "line": 49, + "column": 62 }, "end": { - "line": 40, - "column": 35 + "line": 49, + "column": 63 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19192,24 +21302,25 @@ "binop": null, "updateContext": null }, - "start": 1218, - "end": 1219, + "value": "cyan", + "start": 1381, + "end": 1387, "loc": { "start": { - "line": 40, - "column": 35 + "line": 49, + "column": 64 }, "end": { - "line": 40, - "column": 36 + "line": 49, + "column": 70 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19217,23 +21328,22 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 1220, - "end": 1226, + "start": 1387, + "end": 1388, "loc": { "start": { - "line": 40, - "column": 37 + "line": 49, + "column": 70 }, "end": { - "line": 40, - "column": 43 + "line": 49, + "column": 71 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19243,23 +21353,23 @@ "postfix": false, "binop": null }, - "start": 1226, - "end": 1227, + "start": 1388, + "end": 1389, "loc": { "start": { - "line": 40, - "column": 43 + "line": 49, + "column": 71 }, "end": { - "line": 40, - "column": 44 + "line": 49, + "column": 72 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19269,24 +21379,25 @@ "binop": null, "updateContext": null }, - "start": 1227, - "end": 1228, + "value": "", + "start": 1389, + "end": 1389, "loc": { "start": { - "line": 40, - "column": 44 + "line": 49, + "column": 72 }, "end": { - "line": 40, - "column": 45 + "line": 49, + "column": 72 } } }, { "type": { - "label": "}", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19294,16 +21405,16 @@ "postfix": false, "binop": null }, - "start": 1237, - "end": 1238, + "start": 1389, + "end": 1390, "loc": { "start": { - "line": 41, - "column": 8 + "line": 49, + "column": 72 }, "end": { - "line": 41, - "column": 9 + "line": 49, + "column": 73 } } }, @@ -19319,16 +21430,16 @@ "postfix": false, "binop": null }, - "start": 1238, - "end": 1239, + "start": 1390, + "end": 1391, "loc": { "start": { - "line": 41, - "column": 9 + "line": 49, + "column": 73 }, "end": { - "line": 41, - "column": 10 + "line": 49, + "column": 74 } } }, @@ -19345,22 +21456,23 @@ "binop": null, "updateContext": null }, - "start": 1239, - "end": 1240, + "start": 1391, + "end": 1392, "loc": { "start": { - "line": 41, - "column": 10 + "line": 49, + "column": 74 }, "end": { - "line": 41, - "column": 11 + "line": 49, + "column": 75 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19368,25 +21480,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1247, - "end": 1248, + "value": "if", + "start": 1398, + "end": 1400, "loc": { "start": { - "line": 42, - "column": 6 + "line": 51, + "column": 4 }, "end": { - "line": 42, - "column": 7 + "line": 51, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19395,24 +21509,23 @@ "postfix": false, "binop": null }, - "value": "resolve", - "start": 1255, - "end": 1262, + "start": 1401, + "end": 1402, "loc": { "start": { - "line": 43, - "column": 6 + "line": 51, + "column": 7 }, "end": { - "line": 43, - "column": 13 + "line": 51, + "column": 8 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19421,15 +21534,16 @@ "postfix": false, "binop": null }, - "start": 1262, - "end": 1263, + "value": "server", + "start": 1402, + "end": 1408, "loc": { "start": { - "line": 43, - "column": 13 + "line": 51, + "column": 8 }, "end": { - "line": 43, + "line": 51, "column": 14 } } @@ -19446,48 +21560,48 @@ "postfix": false, "binop": null }, - "start": 1263, - "end": 1264, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 43, + "line": 51, "column": 14 }, "end": { - "line": 43, + "line": 51, "column": 15 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1264, - "end": 1265, + "start": 1410, + "end": 1411, "loc": { "start": { - "line": 43, - "column": 15 + "line": 51, + "column": 16 }, "end": { - "line": 43, - "column": 16 + "line": 51, + "column": 17 } } }, { "type": { - "label": "}", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19495,26 +21609,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1270, - "end": 1271, + "value": "let", + "start": 1418, + "end": 1421, "loc": { "start": { - "line": 44, - "column": 4 + "line": 52, + "column": 6 }, "end": { - "line": 44, - "column": 5 + "line": 52, + "column": 9 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19522,67 +21638,44 @@ "postfix": false, "binop": null }, - "start": 1271, - "end": 1272, + "value": "demoPath", + "start": 1422, + "end": 1430, "loc": { "start": { - "line": 44, - "column": 5 + "line": 52, + "column": 10 }, "end": { - "line": 44, - "column": 6 + "line": 52, + "column": 18 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1272, - "end": 1273, - "loc": { - "start": { - "line": 44, - "column": 6 - }, - "end": { - "line": 44, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1276, - "end": 1277, + "value": "=", + "start": 1431, + "end": 1432, "loc": { "start": { - "line": 45, - "column": 2 + "line": 52, + "column": 19 }, "end": { - "line": 45, - "column": 3 + "line": 52, + "column": 20 } } }, @@ -19598,76 +21691,51 @@ "postfix": false, "binop": null }, - "value": "configureDemo", - "start": 1281, - "end": 1294, - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1294, - "end": 1295, + "value": "path", + "start": 1433, + "end": 1437, "loc": { "start": { - "line": 47, - "column": 15 + "line": 52, + "column": 21 }, "end": { - "line": 47, - "column": 16 + "line": 52, + "column": 25 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "server", - "start": 1295, - "end": 1301, + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 47, - "column": 16 + "line": 52, + "column": 25 }, "end": { - "line": 47, - "column": 22 + "line": 52, + "column": 26 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19675,22 +21743,23 @@ "postfix": false, "binop": null }, - "start": 1301, - "end": 1302, + "value": "join", + "start": 1438, + "end": 1442, "loc": { "start": { - "line": 47, - "column": 22 + "line": 52, + "column": 26 }, "end": { - "line": 47, - "column": 23 + "line": 52, + "column": 30 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -19700,16 +21769,16 @@ "postfix": false, "binop": null }, - "start": 1303, - "end": 1304, + "start": 1442, + "end": 1443, "loc": { "start": { - "line": 47, - "column": 24 + "line": 52, + "column": 30 }, "end": { - "line": 47, - "column": 25 + "line": 52, + "column": 31 } } }, @@ -19725,17 +21794,17 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 1309, - "end": 1315, + "value": "process", + "start": 1443, + "end": 1450, "loc": { "start": { - "line": 48, - "column": 4 + "line": 52, + "column": 31 }, "end": { - "line": 48, - "column": 10 + "line": 52, + "column": 38 } } }, @@ -19752,16 +21821,16 @@ "binop": null, "updateContext": null }, - "start": 1315, - "end": 1316, + "start": 1450, + "end": 1451, "loc": { "start": { - "line": 48, - "column": 10 + "line": 52, + "column": 38 }, "end": { - "line": 48, - "column": 11 + "line": 52, + "column": 39 } } }, @@ -19777,17 +21846,17 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 1316, - "end": 1319, + "value": "cwd", + "start": 1451, + "end": 1454, "loc": { "start": { - "line": 48, - "column": 11 + "line": 52, + "column": 39 }, "end": { - "line": 48, - "column": 14 + "line": 52, + "column": 42 } } }, @@ -19803,24 +21872,24 @@ "postfix": false, "binop": null }, - "start": 1319, - "end": 1320, + "start": 1454, + "end": 1455, "loc": { "start": { - "line": 48, - "column": 14 + "line": 52, + "column": 42 }, "end": { - "line": 48, - "column": 15 + "line": 52, + "column": 43 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19828,23 +21897,23 @@ "postfix": false, "binop": null }, - "start": 1320, - "end": 1321, + "start": 1455, + "end": 1456, "loc": { "start": { - "line": 48, - "column": 15 + "line": 52, + "column": 43 }, "end": { - "line": 48, - "column": 16 + "line": 52, + "column": 44 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19854,24 +21923,23 @@ "binop": null, "updateContext": null }, - "value": "[", - "start": 1321, - "end": 1322, + "start": 1456, + "end": 1457, "loc": { "start": { - "line": 48, - "column": 16 + "line": 52, + "column": 44 }, "end": { - "line": 48, - "column": 17 + "line": 52, + "column": 45 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19880,49 +21948,50 @@ "postfix": false, "binop": null }, - "start": 1322, - "end": 1324, + "value": "server", + "start": 1458, + "end": 1464, "loc": { "start": { - "line": 48, - "column": 17 + "line": 52, + "column": 46 }, "end": { - "line": 48, - "column": 19 + "line": 52, + "column": 52 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "time", - "start": 1324, - "end": 1328, + "start": 1464, + "end": 1465, "loc": { "start": { - "line": 48, - "column": 19 + "line": 52, + "column": 52 }, "end": { - "line": 48, - "column": 23 + "line": 52, + "column": 53 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19931,16 +22000,17 @@ "postfix": false, "binop": null }, - "start": 1328, - "end": 1329, + "value": "demo", + "start": 1465, + "end": 1469, "loc": { "start": { - "line": 48, - "column": 23 + "line": 52, + "column": 53 }, "end": { - "line": 48, - "column": 24 + "line": 52, + "column": 57 } } }, @@ -19956,47 +22026,49 @@ "postfix": false, "binop": null }, - "start": 1329, - "end": 1330, + "start": 1469, + "end": 1470, "loc": { "start": { - "line": 48, - "column": 24 + "line": 52, + "column": 57 }, "end": { - "line": 48, - "column": 25 + "line": 52, + "column": 58 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1330, - "end": 1331, + "start": 1470, + "end": 1471, "loc": { "start": { - "line": 48, - "column": 25 + "line": 52, + "column": 58 }, "end": { - "line": 48, - "column": 26 + "line": 52, + "column": 59 } } }, { "type": { - "label": "template", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20007,23 +22079,23 @@ "binop": null, "updateContext": null }, - "value": "] ", - "start": 1331, - "end": 1333, + "value": "if", + "start": 1479, + "end": 1481, "loc": { "start": { - "line": 48, - "column": 26 + "line": 54, + "column": 6 }, "end": { - "line": 48, - "column": 28 + "line": 54, + "column": 8 } } }, { "type": { - "label": "${", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20033,16 +22105,43 @@ "postfix": false, "binop": null }, - "start": 1333, - "end": 1335, + "start": 1482, + "end": 1483, "loc": { "start": { - "line": 48, - "column": 28 + "line": 54, + "column": 9 }, "end": { - "line": 48, - "column": 30 + "line": 54, + "column": 10 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1483, + "end": 1484, + "loc": { + "start": { + "line": 54, + "column": 10 + }, + "end": { + "line": 54, + "column": 11 } } }, @@ -20058,17 +22157,17 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 1335, - "end": 1341, + "value": "demoPath", + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 48, - "column": 30 + "line": 54, + "column": 11 }, "end": { - "line": 48, - "column": 36 + "line": 54, + "column": 19 } } }, @@ -20085,16 +22184,16 @@ "binop": null, "updateContext": null }, - "start": 1341, - "end": 1342, + "start": 1492, + "end": 1493, "loc": { "start": { - "line": 48, - "column": 36 + "line": 54, + "column": 19 }, "end": { - "line": 48, - "column": 37 + "line": 54, + "column": 20 } } }, @@ -20110,17 +22209,17 @@ "postfix": false, "binop": null }, - "value": "_chalk", - "start": 1342, - "end": 1348, + "value": "includes", + "start": 1493, + "end": 1501, "loc": { "start": { - "line": 48, - "column": 37 + "line": 54, + "column": 20 }, "end": { - "line": 48, - "column": 43 + "line": 54, + "column": 28 } } }, @@ -20136,16 +22235,16 @@ "postfix": false, "binop": null }, - "start": 1348, - "end": 1349, + "start": 1501, + "end": 1502, "loc": { "start": { - "line": 48, - "column": 43 + "line": 54, + "column": 28 }, "end": { - "line": 48, - "column": 44 + "line": 54, + "column": 29 } } }, @@ -20162,78 +22261,75 @@ "binop": null, "updateContext": null }, - "value": "Configuring demo", - "start": 1349, - "end": 1367, + "value": "index.html", + "start": 1502, + "end": 1514, "loc": { "start": { - "line": 48, - "column": 44 + "line": 54, + "column": 29 }, "end": { - "line": 48, - "column": 62 + "line": 54, + "column": 41 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1367, - "end": 1368, + "start": 1514, + "end": 1515, "loc": { "start": { - "line": 48, - "column": 62 + "line": 54, + "column": 41 }, "end": { - "line": 48, - "column": 63 + "line": 54, + "column": 42 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "cyan", - "start": 1369, - "end": 1375, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 48, - "column": 64 + "line": 54, + "column": 42 }, "end": { - "line": 48, - "column": 70 + "line": 54, + "column": 43 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20241,24 +22337,24 @@ "postfix": false, "binop": null }, - "start": 1375, - "end": 1376, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 48, - "column": 70 + "line": 54, + "column": 44 }, "end": { - "line": 48, - "column": 71 + "line": 54, + "column": 45 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20266,49 +22362,50 @@ "postfix": false, "binop": null }, - "start": 1376, - "end": 1377, + "value": "demoPath", + "start": 1527, + "end": 1535, "loc": { "start": { - "line": 48, - "column": 71 + "line": 55, + "column": 8 }, "end": { - "line": 48, - "column": 72 + "line": 55, + "column": 16 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "", - "start": 1377, - "end": 1377, + "value": "=", + "start": 1536, + "end": 1537, "loc": { "start": { - "line": 48, - "column": 72 + "line": 55, + "column": 17 }, "end": { - "line": 48, - "column": 72 + "line": 55, + "column": 18 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20318,22 +22415,23 @@ "postfix": false, "binop": null }, - "start": 1377, - "end": 1378, + "value": "path", + "start": 1538, + "end": 1542, "loc": { "start": { - "line": 48, - "column": 72 + "line": 55, + "column": 19 }, "end": { - "line": 48, - "column": 73 + "line": 55, + "column": 23 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20341,79 +22439,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1378, - "end": 1379, + "start": 1542, + "end": 1543, "loc": { "start": { - "line": 48, - "column": 73 + "line": 55, + "column": 23 }, "end": { - "line": 48, - "column": 74 + "line": 55, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1379, - "end": 1380, + "value": "join", + "start": 1543, + "end": 1547, "loc": { "start": { - "line": 48, - "column": 74 + "line": 55, + "column": 24 }, "end": { - "line": 48, - "column": 75 + "line": 55, + "column": 28 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1386, - "end": 1388, + "start": 1547, + "end": 1548, "loc": { "start": { - "line": 50, - "column": 4 + "line": 55, + "column": 28 }, "end": { - "line": 50, - "column": 6 + "line": 55, + "column": 29 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20422,75 +22518,78 @@ "postfix": false, "binop": null }, - "start": 1389, - "end": 1390, + "value": "demoPath", + "start": 1548, + "end": 1556, "loc": { "start": { - "line": 50, - "column": 7 + "line": 55, + "column": 29 }, "end": { - "line": 50, - "column": 8 + "line": 55, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "server", - "start": 1390, - "end": 1396, + "start": 1556, + "end": 1557, "loc": { "start": { - "line": 50, - "column": 8 + "line": 55, + "column": 37 }, "end": { - "line": 50, - "column": 14 + "line": 55, + "column": 38 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1396, - "end": 1397, + "value": "index.html", + "start": 1558, + "end": 1570, "loc": { "start": { - "line": 50, - "column": 14 + "line": 55, + "column": 39 }, "end": { - "line": 50, - "column": 15 + "line": 55, + "column": 51 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20498,24 +22597,23 @@ "postfix": false, "binop": null }, - "start": 1398, - "end": 1399, + "start": 1570, + "end": 1571, "loc": { "start": { - "line": 50, - "column": 16 + "line": 55, + "column": 51 }, "end": { - "line": 50, - "column": 17 + "line": 55, + "column": 52 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20525,25 +22623,24 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1406, - "end": 1409, + "start": 1571, + "end": 1572, "loc": { "start": { - "line": 51, - "column": 6 + "line": 55, + "column": 52 }, "end": { - "line": 51, - "column": 9 + "line": 55, + "column": 53 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20551,44 +22648,44 @@ "postfix": false, "binop": null }, - "value": "demoPath", - "start": 1410, - "end": 1418, + "start": 1579, + "end": 1580, "loc": { "start": { - "line": 51, - "column": 10 + "line": 56, + "column": 6 }, "end": { - "line": 51, - "column": 18 + "line": 56, + "column": 7 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1419, - "end": 1420, + "value": "let", + "start": 1587, + "end": 1590, "loc": { "start": { - "line": 51, - "column": 19 + "line": 57, + "column": 6 }, "end": { - "line": 51, - "column": 20 + "line": 57, + "column": 9 } } }, @@ -20604,43 +22701,44 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 1421, - "end": 1425, + "value": "demo", + "start": 1591, + "end": 1595, "loc": { "start": { - "line": 51, - "column": 21 + "line": 57, + "column": 10 }, "end": { - "line": 51, - "column": 25 + "line": 57, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1425, - "end": 1426, + "value": "=", + "start": 1596, + "end": 1597, "loc": { "start": { - "line": 51, - "column": 25 + "line": 57, + "column": 15 }, "end": { - "line": 51, - "column": 26 + "line": 57, + "column": 16 } } }, @@ -20656,17 +22754,17 @@ "postfix": false, "binop": null }, - "value": "join", - "start": 1426, - "end": 1430, + "value": "readFileSync", + "start": 1598, + "end": 1610, "loc": { "start": { - "line": 51, - "column": 26 + "line": 57, + "column": 17 }, "end": { - "line": 51, - "column": 30 + "line": 57, + "column": 29 } } }, @@ -20682,16 +22780,16 @@ "postfix": false, "binop": null }, - "start": 1430, - "end": 1431, + "start": 1610, + "end": 1611, "loc": { "start": { - "line": 51, - "column": 30 + "line": 57, + "column": 29 }, "end": { - "line": 51, - "column": 31 + "line": 57, + "column": 30 } } }, @@ -20707,24 +22805,24 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 1431, - "end": 1438, + "value": "demoPath", + "start": 1611, + "end": 1619, "loc": { "start": { - "line": 51, - "column": 31 + "line": 57, + "column": 30 }, "end": { - "line": 51, + "line": 57, "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20734,22 +22832,22 @@ "binop": null, "updateContext": null }, - "start": 1438, - "end": 1439, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 51, + "line": 57, "column": 38 }, "end": { - "line": 51, + "line": 57, "column": 39 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20757,27 +22855,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "cwd", - "start": 1439, - "end": 1442, + "value": "utf-8", + "start": 1621, + "end": 1628, "loc": { "start": { - "line": 51, - "column": 39 + "line": 57, + "column": 40 }, "end": { - "line": 51, - "column": 42 + "line": 57, + "column": 47 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20785,48 +22884,50 @@ "postfix": false, "binop": null }, - "start": 1442, - "end": 1443, + "start": 1628, + "end": 1629, "loc": { "start": { - "line": 51, - "column": 42 + "line": 57, + "column": 47 }, "end": { - "line": 51, - "column": 43 + "line": 57, + "column": 48 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1443, - "end": 1444, + "start": 1629, + "end": 1630, "loc": { "start": { - "line": 51, - "column": 43 + "line": 57, + "column": 48 }, "end": { - "line": 51, - "column": 44 + "line": 57, + "column": 49 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20836,23 +22937,24 @@ "binop": null, "updateContext": null }, - "start": 1444, - "end": 1445, + "value": "if", + "start": 1637, + "end": 1639, "loc": { "start": { - "line": 51, - "column": 44 + "line": 58, + "column": 6 }, "end": { - "line": 51, - "column": 45 + "line": 58, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20861,43 +22963,43 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1446, - "end": 1452, + "start": 1640, + "end": 1641, "loc": { "start": { - "line": 51, - "column": 46 + "line": 58, + "column": 9 }, "end": { - "line": 51, - "column": 52 + "line": 58, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 1452, - "end": 1453, + "value": "!", + "start": 1641, + "end": 1642, "loc": { "start": { - "line": 51, - "column": 52 + "line": 58, + "column": 10 }, "end": { - "line": 51, - "column": 53 + "line": 58, + "column": 11 } } }, @@ -20914,22 +23016,22 @@ "binop": null }, "value": "demo", - "start": 1453, - "end": 1457, + "start": 1642, + "end": 1646, "loc": { "start": { - "line": 51, - "column": 53 + "line": 58, + "column": 11 }, "end": { - "line": 51, - "column": 57 + "line": 58, + "column": 15 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20937,132 +23039,130 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1457, - "end": 1458, + "start": 1646, + "end": 1647, "loc": { "start": { - "line": 51, - "column": 57 + "line": 58, + "column": 15 }, "end": { - "line": 51, - "column": 58 + "line": 58, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1458, - "end": 1459, + "value": "includes", + "start": 1647, + "end": 1655, "loc": { "start": { - "line": 51, - "column": 58 + "line": 58, + "column": 16 }, "end": { - "line": 51, - "column": 59 + "line": 58, + "column": 24 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1467, - "end": 1469, + "start": 1655, + "end": 1656, "loc": { "start": { - "line": 53, - "column": 6 + "line": 58, + "column": 24 }, "end": { - "line": 53, - "column": 8 + "line": 58, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1470, - "end": 1471, + "value": "/reload/reload.js", + "start": 1656, + "end": 1675, "loc": { "start": { - "line": 53, - "column": 9 + "line": 58, + "column": 25 }, "end": { - "line": 53, - "column": 10 + "line": 58, + "column": 44 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 1471, - "end": 1472, + "start": 1675, + "end": 1676, "loc": { "start": { - "line": 53, - "column": 10 + "line": 58, + "column": 44 }, "end": { - "line": 53, - "column": 11 + "line": 58, + "column": 45 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21070,43 +23170,41 @@ "postfix": false, "binop": null }, - "value": "demoPath", - "start": 1472, - "end": 1480, + "start": 1676, + "end": 1677, "loc": { "start": { - "line": 53, - "column": 11 + "line": 58, + "column": 45 }, "end": { - "line": 53, - "column": 19 + "line": 58, + "column": 46 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1480, - "end": 1481, + "start": 1678, + "end": 1679, "loc": { "start": { - "line": 53, - "column": 19 + "line": 58, + "column": 47 }, "end": { - "line": 53, - "column": 20 + "line": 58, + "column": 48 } } }, @@ -21122,48 +23220,50 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 1481, - "end": 1489, + "value": "demo", + "start": 1688, + "end": 1692, "loc": { "start": { - "line": 53, - "column": 20 + "line": 59, + "column": 8 }, "end": { - "line": 53, - "column": 28 + "line": 59, + "column": 12 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1489, - "end": 1490, + "value": "=", + "start": 1693, + "end": 1694, "loc": { "start": { - "line": 53, - "column": 28 + "line": 59, + "column": 13 }, "end": { - "line": 53, - "column": 29 + "line": 59, + "column": 14 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21171,26 +23271,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "index.html", - "start": 1490, - "end": 1502, + "value": "demo", + "start": 1695, + "end": 1699, "loc": { "start": { - "line": 53, - "column": 29 + "line": 59, + "column": 15 }, "end": { - "line": 53, - "column": 41 + "line": 59, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21198,26 +23297,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1502, - "end": 1503, + "start": 1699, + "end": 1700, "loc": { "start": { - "line": 53, - "column": 41 + "line": 59, + "column": 19 }, "end": { - "line": 53, - "column": 42 + "line": 59, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21225,22 +23325,23 @@ "postfix": false, "binop": null }, - "start": 1503, - "end": 1504, + "value": "replace", + "start": 1700, + "end": 1707, "loc": { "start": { - "line": 53, - "column": 42 + "line": 59, + "column": 20 }, "end": { - "line": 53, - "column": 43 + "line": 59, + "column": 27 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -21250,22 +23351,22 @@ "postfix": false, "binop": null }, - "start": 1505, - "end": 1506, + "start": 1707, + "end": 1708, "loc": { "start": { - "line": 53, - "column": 44 + "line": 59, + "column": 27 }, "end": { - "line": 53, - "column": 45 + "line": 59, + "column": 28 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21273,52 +23374,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "demoPath", - "start": 1515, - "end": 1523, + "value": "", + "start": 1708, + "end": 1717, "loc": { "start": { - "line": 54, - "column": 8 + "line": 59, + "column": 28 }, "end": { - "line": 54, - "column": 16 + "line": 59, + "column": 37 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1524, - "end": 1525, + "start": 1717, + "end": 1718, "loc": { "start": { - "line": 54, - "column": 17 + "line": 59, + "column": 37 }, "end": { - "line": 54, - "column": 18 + "line": 59, + "column": 38 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21326,25 +23427,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "path", - "start": 1526, - "end": 1530, + "value": "\t\n", + "start": 1719, + "end": 1773, "loc": { "start": { - "line": 54, - "column": 19 + "line": 59, + "column": 39 }, "end": { - "line": 54, - "column": 23 + "line": 59, + "column": 93 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21352,19 +23454,44 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 59, + "column": 93 + }, + "end": { + "line": 59, + "column": 94 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 1530, - "end": 1531, + "start": 1774, + "end": 1775, "loc": { "start": { - "line": 54, - "column": 23 + "line": 59, + "column": 94 }, "end": { - "line": 54, - "column": 24 + "line": 59, + "column": 95 } } }, @@ -21380,17 +23507,17 @@ "postfix": false, "binop": null }, - "value": "join", - "start": 1531, - "end": 1535, + "value": "writeFileSync", + "start": 1784, + "end": 1797, "loc": { "start": { - "line": 54, - "column": 24 + "line": 60, + "column": 8 }, "end": { - "line": 54, - "column": 28 + "line": 60, + "column": 21 } } }, @@ -21406,16 +23533,16 @@ "postfix": false, "binop": null }, - "start": 1535, - "end": 1536, + "start": 1797, + "end": 1798, "loc": { "start": { - "line": 54, - "column": 28 + "line": 60, + "column": 21 }, "end": { - "line": 54, - "column": 29 + "line": 60, + "column": 22 } } }, @@ -21432,16 +23559,16 @@ "binop": null }, "value": "demoPath", - "start": 1536, - "end": 1544, + "start": 1798, + "end": 1806, "loc": { "start": { - "line": 54, - "column": 29 + "line": 60, + "column": 22 }, "end": { - "line": 54, - "column": 37 + "line": 60, + "column": 30 } } }, @@ -21458,22 +23585,22 @@ "binop": null, "updateContext": null }, - "start": 1544, - "end": 1545, + "start": 1806, + "end": 1807, "loc": { "start": { - "line": 54, - "column": 37 + "line": 60, + "column": 30 }, "end": { - "line": 54, - "column": 38 + "line": 60, + "column": 31 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21481,20 +23608,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "index.html", - "start": 1546, - "end": 1558, + "value": "demo", + "start": 1808, + "end": 1812, "loc": { "start": { - "line": 54, - "column": 39 + "line": 60, + "column": 32 }, "end": { - "line": 54, - "column": 51 + "line": 60, + "column": 36 } } }, @@ -21510,16 +23636,16 @@ "postfix": false, "binop": null }, - "start": 1558, - "end": 1559, + "start": 1812, + "end": 1813, "loc": { "start": { - "line": 54, - "column": 51 + "line": 60, + "column": 36 }, "end": { - "line": 54, - "column": 52 + "line": 60, + "column": 37 } } }, @@ -21536,16 +23662,16 @@ "binop": null, "updateContext": null }, - "start": 1559, - "end": 1560, + "start": 1813, + "end": 1814, "loc": { "start": { - "line": 54, - "column": 52 + "line": 60, + "column": 37 }, "end": { - "line": 54, - "column": 53 + "line": 60, + "column": 38 } } }, @@ -21561,52 +23687,24 @@ "postfix": false, "binop": null }, - "start": 1567, - "end": 1568, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 7 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 1575, - "end": 1578, + "start": 1821, + "end": 1822, "loc": { "start": { - "line": 56, + "line": 61, "column": 6 }, "end": { - "line": 56, - "column": 9 + "line": 61, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21614,44 +23712,41 @@ "postfix": false, "binop": null }, - "value": "demo", - "start": 1579, - "end": 1583, + "start": 1827, + "end": 1828, "loc": { "start": { - "line": 56, - "column": 10 + "line": 62, + "column": 4 }, "end": { - "line": 56, - "column": 14 + "line": 62, + "column": 5 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1584, - "end": 1585, + "start": 1831, + "end": 1832, "loc": { "start": { - "line": 56, - "column": 15 + "line": 63, + "column": 2 }, "end": { - "line": 56, - "column": 16 + "line": 63, + "column": 3 } } }, @@ -21667,17 +23762,17 @@ "postfix": false, "binop": null }, - "value": "readFileSync", - "start": 1586, - "end": 1598, + "value": "runWorker", + "start": 1836, + "end": 1845, "loc": { "start": { - "line": 56, - "column": 17 + "line": 65, + "column": 2 }, "end": { - "line": 56, - "column": 29 + "line": 65, + "column": 11 } } }, @@ -21693,16 +23788,16 @@ "postfix": false, "binop": null }, - "start": 1598, - "end": 1599, + "start": 1845, + "end": 1846, "loc": { "start": { - "line": 56, - "column": 29 + "line": 65, + "column": 11 }, "end": { - "line": 56, - "column": 30 + "line": 65, + "column": 12 } } }, @@ -21718,17 +23813,17 @@ "postfix": false, "binop": null }, - "value": "demoPath", - "start": 1599, - "end": 1607, + "value": "task", + "start": 1846, + "end": 1850, "loc": { "start": { - "line": 56, - "column": 30 + "line": 65, + "column": 12 }, "end": { - "line": 56, - "column": 38 + "line": 65, + "column": 16 } } }, @@ -21745,22 +23840,22 @@ "binop": null, "updateContext": null }, - "start": 1607, - "end": 1608, + "start": 1850, + "end": 1851, "loc": { "start": { - "line": 56, - "column": 38 + "line": 65, + "column": 16 }, "end": { - "line": 56, - "column": 39 + "line": 65, + "column": 17 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21768,20 +23863,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "utf-8", - "start": 1609, - "end": 1616, + "value": "config", + "start": 1852, + "end": 1858, "loc": { "start": { - "line": 56, - "column": 40 + "line": 65, + "column": 18 }, "end": { - "line": 56, - "column": 47 + "line": 65, + "column": 24 } } }, @@ -21797,42 +23891,41 @@ "postfix": false, "binop": null }, - "start": 1616, - "end": 1617, + "start": 1858, + "end": 1859, "loc": { "start": { - "line": 56, - "column": 47 + "line": 65, + "column": 24 }, "end": { - "line": 56, - "column": 48 + "line": 65, + "column": 25 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1617, - "end": 1618, + "start": 1860, + "end": 1861, "loc": { "start": { - "line": 56, - "column": 48 + "line": 65, + "column": 26 }, "end": { - "line": 56, - "column": 49 + "line": 65, + "column": 27 } } }, @@ -21851,16 +23944,16 @@ "updateContext": null }, "value": "if", - "start": 1625, - "end": 1627, + "start": 1866, + "end": 1868, "loc": { "start": { - "line": 57, - "column": 6 + "line": 66, + "column": 4 }, "end": { - "line": 57, - "column": 8 + "line": 66, + "column": 6 } } }, @@ -21876,103 +23969,104 @@ "postfix": false, "binop": null }, - "start": 1628, - "end": 1629, + "start": 1869, + "end": 1870, "loc": { "start": { - "line": 57, - "column": 9 + "line": 66, + "column": 7 }, "end": { - "line": 57, - "column": 10 + "line": 66, + "column": 8 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 1629, - "end": 1630, + "value": "this", + "start": 1870, + "end": 1874, "loc": { "start": { - "line": 57, - "column": 10 + "line": 66, + "column": 8 }, "end": { - "line": 57, - "column": 11 + "line": 66, + "column": 12 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "demo", - "start": 1630, - "end": 1634, + "start": 1874, + "end": 1875, "loc": { "start": { - "line": 57, - "column": 11 + "line": 66, + "column": 12 }, "end": { - "line": 57, - "column": 15 + "line": 66, + "column": 13 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1634, - "end": 1635, + "value": "busy", + "start": 1875, + "end": 1879, "loc": { "start": { - "line": 57, - "column": 15 + "line": 66, + "column": 13 }, "end": { - "line": 57, - "column": 16 + "line": 66, + "column": 17 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21980,23 +24074,22 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 1635, - "end": 1643, + "start": 1879, + "end": 1880, "loc": { "start": { - "line": 57, - "column": 16 + "line": 66, + "column": 17 }, "end": { - "line": 57, - "column": 24 + "line": 66, + "column": 18 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -22006,22 +24099,22 @@ "postfix": false, "binop": null }, - "start": 1643, - "end": 1644, + "start": 1881, + "end": 1882, "loc": { "start": { - "line": 57, - "column": 24 + "line": 66, + "column": 19 }, "end": { - "line": 57, - "column": 25 + "line": 66, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22029,26 +24122,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "/reload/reload.js", - "start": 1644, - "end": 1663, + "value": "worker", + "start": 1889, + "end": 1895, "loc": { "start": { - "line": 57, - "column": 25 + "line": 67, + "column": 6 }, "end": { - "line": 57, - "column": 44 + "line": 67, + "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22056,26 +24148,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1663, - "end": 1664, + "start": 1895, + "end": 1896, "loc": { "start": { - "line": 57, - "column": 44 + "line": 67, + "column": 12 }, "end": { - "line": 57, - "column": 45 + "line": 67, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22083,22 +24176,23 @@ "postfix": false, "binop": null }, - "start": 1664, - "end": 1665, + "value": "kill", + "start": 1896, + "end": 1900, "loc": { "start": { - "line": 57, - "column": 45 + "line": 67, + "column": 13 }, "end": { - "line": 57, - "column": 46 + "line": 67, + "column": 17 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -22108,24 +24202,24 @@ "postfix": false, "binop": null }, - "start": 1666, - "end": 1667, + "start": 1900, + "end": 1901, "loc": { "start": { - "line": 57, - "column": 47 + "line": 67, + "column": 17 }, "end": { - "line": 57, - "column": 48 + "line": 67, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22133,50 +24227,49 @@ "postfix": false, "binop": null }, - "value": "demo", - "start": 1676, - "end": 1680, + "start": 1901, + "end": 1902, "loc": { "start": { - "line": 58, - "column": 8 + "line": 67, + "column": 18 }, "end": { - "line": 58, - "column": 12 + "line": 67, + "column": 19 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1681, - "end": 1682, + "start": 1902, + "end": 1903, "loc": { "start": { - "line": 58, - "column": 13 + "line": 67, + "column": 19 }, "end": { - "line": 58, - "column": 14 + "line": 67, + "column": 20 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22184,19 +24277,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "demo", - "start": 1683, - "end": 1687, + "value": "this", + "start": 1910, + "end": 1914, "loc": { "start": { - "line": 58, - "column": 15 + "line": 68, + "column": 6 }, "end": { - "line": 58, - "column": 19 + "line": 68, + "column": 10 } } }, @@ -22213,16 +24307,16 @@ "binop": null, "updateContext": null }, - "start": 1687, - "end": 1688, + "start": 1914, + "end": 1915, "loc": { "start": { - "line": 58, - "column": 19 + "line": 68, + "column": 10 }, "end": { - "line": 58, - "column": 20 + "line": 68, + "column": 11 } } }, @@ -22238,48 +24332,51 @@ "postfix": false, "binop": null }, - "value": "replace", - "start": 1688, - "end": 1695, + "value": "busy", + "start": 1915, + "end": 1919, "loc": { "start": { - "line": 58, - "column": 20 + "line": 68, + "column": 11 }, "end": { - "line": 58, - "column": 27 + "line": 68, + "column": 15 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1695, - "end": 1696, + "value": "=", + "start": 1920, + "end": 1921, "loc": { "start": { - "line": 58, - "column": 27 + "line": 68, + "column": 16 }, "end": { - "line": 58, - "column": 28 + "line": 68, + "column": 17 } } }, { "type": { - "label": "string", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22290,23 +24387,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 1696, - "end": 1705, + "value": "false", + "start": 1922, + "end": 1927, "loc": { "start": { - "line": 58, - "column": 28 + "line": 68, + "column": 18 }, "end": { - "line": 58, - "column": 37 + "line": 68, + "column": 23 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22317,75 +24414,76 @@ "binop": null, "updateContext": null }, - "start": 1705, - "end": 1706, + "start": 1927, + "end": 1928, "loc": { "start": { - "line": 58, - "column": 37 + "line": 68, + "column": 23 }, "end": { - "line": 58, - "column": 38 + "line": 68, + "column": 24 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "\t\n", - "start": 1707, - "end": 1761, + "start": 1933, + "end": 1934, "loc": { "start": { - "line": 58, - "column": 39 + "line": 69, + "column": 4 }, "end": { - "line": 58, - "column": 93 + "line": 69, + "column": 5 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1761, - "end": 1762, + "value": "this", + "start": 1939, + "end": 1943, "loc": { "start": { - "line": 58, - "column": 93 + "line": 70, + "column": 4 }, "end": { - "line": 58, - "column": 94 + "line": 70, + "column": 8 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22395,16 +24493,16 @@ "binop": null, "updateContext": null }, - "start": 1762, - "end": 1763, + "start": 1943, + "end": 1944, "loc": { "start": { - "line": 58, - "column": 94 + "line": 70, + "column": 8 }, "end": { - "line": 58, - "column": 95 + "line": 70, + "column": 9 } } }, @@ -22420,48 +24518,51 @@ "postfix": false, "binop": null }, - "value": "writeFileSync", - "start": 1772, - "end": 1785, + "value": "busy", + "start": 1944, + "end": 1948, "loc": { "start": { - "line": 59, - "column": 8 + "line": 70, + "column": 9 }, "end": { - "line": 59, - "column": 21 + "line": 70, + "column": 13 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1785, - "end": 1786, + "value": "=", + "start": 1949, + "end": 1950, "loc": { "start": { - "line": 59, - "column": 21 + "line": 70, + "column": 14 }, "end": { - "line": 59, - "column": 22 + "line": 70, + "column": 15 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22469,25 +24570,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "demoPath", - "start": 1786, - "end": 1794, + "value": "true", + "start": 1951, + "end": 1955, "loc": { "start": { - "line": 59, - "column": 22 + "line": 70, + "column": 16 }, "end": { - "line": 59, - "column": 30 + "line": 70, + "column": 20 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22498,16 +24600,16 @@ "binop": null, "updateContext": null }, - "start": 1794, - "end": 1795, + "start": 1955, + "end": 1956, "loc": { "start": { - "line": 59, - "column": 30 + "line": 70, + "column": 20 }, "end": { - "line": 59, - "column": 31 + "line": 70, + "column": 21 } } }, @@ -22523,76 +24625,78 @@ "postfix": false, "binop": null }, - "value": "demo", - "start": 1796, - "end": 1800, + "value": "worker", + "start": 1961, + "end": 1967, "loc": { "start": { - "line": 59, - "column": 32 + "line": 71, + "column": 4 }, "end": { - "line": 59, - "column": 36 + "line": 71, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1800, - "end": 1801, + "value": "=", + "start": 1968, + "end": 1969, "loc": { "start": { - "line": 59, - "column": 36 + "line": 71, + "column": 11 }, "end": { - "line": 59, - "column": 37 + "line": 71, + "column": 12 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1801, - "end": 1802, + "value": "fork", + "start": 1970, + "end": 1974, "loc": { "start": { - "line": 59, - "column": 37 + "line": 71, + "column": 13 }, "end": { - "line": 59, - "column": 38 + "line": 71, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22600,24 +24704,24 @@ "postfix": false, "binop": null }, - "start": 1809, - "end": 1810, + "start": 1974, + "end": 1975, "loc": { "start": { - "line": 60, - "column": 6 + "line": 71, + "column": 17 }, "end": { - "line": 60, - "column": 7 + "line": 71, + "column": 18 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22625,22 +24729,23 @@ "postfix": false, "binop": null }, - "start": 1815, - "end": 1816, + "value": "path", + "start": 1975, + "end": 1979, "loc": { "start": { - "line": 61, - "column": 4 + "line": 71, + "column": 18 }, "end": { - "line": 61, - "column": 5 + "line": 71, + "column": 22 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22648,18 +24753,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1819, - "end": 1820, + "start": 1979, + "end": 1980, "loc": { "start": { - "line": 62, - "column": 2 + "line": 71, + "column": 22 }, "end": { - "line": 62, - "column": 3 + "line": 71, + "column": 23 } } }, @@ -22675,17 +24781,17 @@ "postfix": false, "binop": null }, - "value": "runWorker", - "start": 1824, - "end": 1833, + "value": "join", + "start": 1980, + "end": 1984, "loc": { "start": { - "line": 64, - "column": 2 + "line": 71, + "column": 23 }, "end": { - "line": 64, - "column": 11 + "line": 71, + "column": 27 } } }, @@ -22701,16 +24807,16 @@ "postfix": false, "binop": null }, - "start": 1833, - "end": 1834, + "start": 1984, + "end": 1985, "loc": { "start": { - "line": 64, - "column": 11 + "line": 71, + "column": 27 }, "end": { - "line": 64, - "column": 12 + "line": 71, + "column": 28 } } }, @@ -22726,17 +24832,17 @@ "postfix": false, "binop": null }, - "value": "task", - "start": 1834, - "end": 1838, + "value": "__dirname", + "start": 1985, + "end": 1994, "loc": { "start": { - "line": 64, - "column": 12 + "line": 71, + "column": 28 }, "end": { - "line": 64, - "column": 16 + "line": 71, + "column": 37 } } }, @@ -22753,22 +24859,22 @@ "binop": null, "updateContext": null }, - "start": 1838, - "end": 1839, + "start": 1994, + "end": 1995, "loc": { "start": { - "line": 64, - "column": 16 + "line": 71, + "column": 37 }, "end": { - "line": 64, - "column": 17 + "line": 71, + "column": 38 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22776,19 +24882,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 1840, - "end": 1846, + "value": "workers/watcher-worker.js", + "start": 1996, + "end": 2023, "loc": { "start": { - "line": 64, - "column": 18 + "line": 71, + "column": 39 }, "end": { - "line": 64, - "column": 24 + "line": 71, + "column": 66 } } }, @@ -22804,24 +24911,24 @@ "postfix": false, "binop": null }, - "start": 1846, - "end": 1847, + "start": 2023, + "end": 2024, "loc": { "start": { - "line": 64, - "column": 24 + "line": 71, + "column": 66 }, "end": { - "line": 64, - "column": 25 + "line": 71, + "column": 67 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22829,24 +24936,23 @@ "postfix": false, "binop": null }, - "start": 1848, - "end": 1849, + "start": 2024, + "end": 2025, "loc": { "start": { - "line": 64, - "column": 26 + "line": 71, + "column": 67 }, "end": { - "line": 64, - "column": 27 + "line": 71, + "column": 68 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22856,17 +24962,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1854, - "end": 1857, + "start": 2025, + "end": 2026, "loc": { "start": { - "line": 65, - "column": 4 + "line": 71, + "column": 68 }, "end": { - "line": 65, - "column": 7 + "line": 71, + "column": 69 } } }, @@ -22883,23 +24988,23 @@ "binop": null }, "value": "worker", - "start": 1858, - "end": 1864, + "start": 2031, + "end": 2037, "loc": { "start": { - "line": 65, - "column": 8 + "line": 72, + "column": 4 }, "end": { - "line": 65, - "column": 14 + "line": 72, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22909,16 +25014,16 @@ "binop": null, "updateContext": null }, - "start": 1864, - "end": 1865, + "start": 2037, + "end": 2038, "loc": { "start": { - "line": 65, - "column": 14 + "line": 72, + "column": 10 }, "end": { - "line": 65, - "column": 15 + "line": 72, + "column": 11 } } }, @@ -22934,50 +25039,48 @@ "postfix": false, "binop": null }, - "value": "worker", - "start": 1870, - "end": 1876, + "value": "on", + "start": 2038, + "end": 2040, "loc": { "start": { - "line": 66, - "column": 4 + "line": 72, + "column": 11 }, "end": { - "line": 66, - "column": 10 + "line": 72, + "column": 13 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1877, - "end": 1878, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 66, - "column": 11 + "line": 72, + "column": 13 }, "end": { - "line": 66, - "column": 12 + "line": 72, + "column": 14 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22985,44 +25088,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fork", - "start": 1879, - "end": 1883, + "value": "message", + "start": 2041, + "end": 2050, "loc": { "start": { - "line": 66, - "column": 13 + "line": 72, + "column": 14 }, "end": { - "line": 66, - "column": 17 + "line": 72, + "column": 23 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1883, - "end": 1884, + "start": 2050, + "end": 2051, "loc": { "start": { - "line": 66, - "column": 17 + "line": 72, + "column": 23 }, "end": { - "line": 66, - "column": 18 + "line": 72, + "column": 24 } } }, @@ -23038,24 +25143,24 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 1884, - "end": 1888, + "value": "message", + "start": 2052, + "end": 2059, "loc": { "start": { - "line": 66, - "column": 18 + "line": 72, + "column": 25 }, "end": { - "line": 66, - "column": 22 + "line": 72, + "column": 32 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23065,23 +25170,23 @@ "binop": null, "updateContext": null }, - "start": 1888, - "end": 1889, + "start": 2060, + "end": 2062, "loc": { "start": { - "line": 66, - "column": 22 + "line": 72, + "column": 33 }, "end": { - "line": 66, - "column": 23 + "line": 72, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23090,17 +25195,44 @@ "postfix": false, "binop": null }, - "value": "join", - "start": 1889, - "end": 1893, + "start": 2063, + "end": 2064, + "loc": { + "start": { + "line": 72, + "column": 36 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2071, + "end": 2073, "loc": { "start": { - "line": 66, - "column": 23 + "line": 73, + "column": 6 }, "end": { - "line": 66, - "column": 27 + "line": 73, + "column": 8 } } }, @@ -23116,16 +25248,16 @@ "postfix": false, "binop": null }, - "start": 1893, - "end": 1894, + "start": 2074, + "end": 2075, "loc": { "start": { - "line": 66, - "column": 27 + "line": 73, + "column": 9 }, "end": { - "line": 66, - "column": 28 + "line": 73, + "column": 10 } } }, @@ -23141,23 +25273,23 @@ "postfix": false, "binop": null }, - "value": "__dirname", - "start": 1894, - "end": 1903, + "value": "message", + "start": 2075, + "end": 2082, "loc": { "start": { - "line": 66, - "column": 28 + "line": 73, + "column": 10 }, "end": { - "line": 66, - "column": 37 + "line": 73, + "column": 17 } } }, { "type": { - "label": ",", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23165,19 +25297,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 1903, - "end": 1904, + "value": "===", + "start": 2083, + "end": 2086, "loc": { "start": { - "line": 66, - "column": 37 + "line": 73, + "column": 18 }, "end": { - "line": 66, - "column": 38 + "line": 73, + "column": 21 } } }, @@ -23194,42 +25327,17 @@ "binop": null, "updateContext": null }, - "value": "workers/watcher-worker.js", - "start": 1905, - "end": 1932, - "loc": { - "start": { - "line": 66, - "column": 39 - }, - "end": { - "line": 66, - "column": 66 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1932, - "end": 1933, + "value": "done", + "start": 2087, + "end": 2093, "loc": { "start": { - "line": 66, - "column": 66 + "line": 73, + "column": 22 }, "end": { - "line": 66, - "column": 67 + "line": 73, + "column": 28 } } }, @@ -23245,48 +25353,48 @@ "postfix": false, "binop": null }, - "start": 1933, - "end": 1934, + "start": 2093, + "end": 2094, "loc": { "start": { - "line": 66, - "column": 67 + "line": 73, + "column": 28 }, "end": { - "line": 66, - "column": 68 + "line": 73, + "column": 29 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1934, - "end": 1935, + "start": 2095, + "end": 2096, "loc": { "start": { - "line": 66, - "column": 68 + "line": 73, + "column": 30 }, "end": { - "line": 66, - "column": 69 + "line": 73, + "column": 31 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23294,19 +25402,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "worker", - "start": 1940, - "end": 1946, + "value": "this", + "start": 2105, + "end": 2109, "loc": { "start": { - "line": 67, - "column": 4 + "line": 74, + "column": 8 }, "end": { - "line": 67, - "column": 10 + "line": 74, + "column": 12 } } }, @@ -23323,16 +25432,16 @@ "binop": null, "updateContext": null }, - "start": 1946, - "end": 1947, + "start": 2109, + "end": 2110, "loc": { "start": { - "line": 67, - "column": 10 + "line": 74, + "column": 12 }, "end": { - "line": 67, - "column": 11 + "line": 74, + "column": 13 } } }, @@ -23348,17 +25457,17 @@ "postfix": false, "binop": null }, - "value": "on", - "start": 1947, - "end": 1949, + "value": "configureDemo", + "start": 2110, + "end": 2123, "loc": { "start": { - "line": 67, - "column": 11 + "line": 74, + "column": 13 }, "end": { - "line": 67, - "column": 13 + "line": 74, + "column": 26 } } }, @@ -23374,22 +25483,23 @@ "postfix": false, "binop": null }, - "start": 1949, - "end": 1950, + "start": 2123, + "end": 2124, "loc": { "start": { - "line": 67, - "column": 13 + "line": 74, + "column": 26 }, "end": { - "line": 67, - "column": 14 + "line": 74, + "column": 27 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23400,24 +25510,24 @@ "binop": null, "updateContext": null }, - "value": "message", - "start": 1950, - "end": 1959, + "value": "this", + "start": 2124, + "end": 2128, "loc": { "start": { - "line": 67, - "column": 14 + "line": 74, + "column": 27 }, "end": { - "line": 67, - "column": 23 + "line": 74, + "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23427,16 +25537,16 @@ "binop": null, "updateContext": null }, - "start": 1959, - "end": 1960, + "start": 2128, + "end": 2129, "loc": { "start": { - "line": 67, - "column": 23 + "line": 74, + "column": 31 }, "end": { - "line": 67, - "column": 24 + "line": 74, + "column": 32 } } }, @@ -23452,75 +25562,23 @@ "postfix": false, "binop": null }, - "value": "message", - "start": 1961, - "end": 1968, + "value": "server", + "start": 2129, + "end": 2135, "loc": { "start": { - "line": 67, - "column": 25 - }, - "end": { - "line": 67, + "line": 74, "column": 32 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1969, - "end": 1971, - "loc": { - "start": { - "line": 67, - "column": 33 - }, - "end": { - "line": 67, - "column": 35 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1972, - "end": 1973, - "loc": { - "start": { - "line": 67, - "column": 36 }, "end": { - "line": 67, - "column": 37 + "line": 74, + "column": 38 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23528,45 +25586,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1980, - "end": 1982, + "start": 2135, + "end": 2136, "loc": { "start": { - "line": 68, - "column": 6 + "line": 74, + "column": 38 }, "end": { - "line": 68, - "column": 8 + "line": 74, + "column": 39 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1983, - "end": 1984, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 68, - "column": 9 + "line": 74, + "column": 39 }, "end": { - "line": 68, - "column": 10 + "line": 74, + "column": 40 } } }, @@ -23583,43 +25640,43 @@ "binop": null }, "value": "message", - "start": 1984, - "end": 1991, + "start": 2146, + "end": 2153, "loc": { "start": { - "line": 68, - "column": 10 + "line": 75, + "column": 8 }, "end": { - "line": 68, - "column": 17 + "line": 75, + "column": 15 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 1992, - "end": 1995, + "value": "=", + "start": 2154, + "end": 2155, "loc": { "start": { - "line": 68, - "column": 18 + "line": 75, + "column": 16 }, "end": { - "line": 68, - "column": 21 + "line": 75, + "column": 17 } } }, @@ -23636,50 +25693,51 @@ "binop": null, "updateContext": null }, - "value": "done", - "start": 1996, - "end": 2002, + "value": "reload", + "start": 2156, + "end": 2164, "loc": { "start": { - "line": 68, - "column": 22 + "line": 75, + "column": 18 }, "end": { - "line": 68, - "column": 28 + "line": 75, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2002, - "end": 2003, + "start": 2164, + "end": 2165, "loc": { "start": { - "line": 68, - "column": 28 + "line": 75, + "column": 26 }, "end": { - "line": 68, - "column": 29 + "line": 75, + "column": 27 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23687,23 +25745,22 @@ "postfix": false, "binop": null }, - "start": 2004, - "end": 2005, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 68, - "column": 30 + "line": 76, + "column": 6 }, "end": { - "line": 68, - "column": 31 + "line": 76, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23711,19 +25768,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2014, - "end": 2018, + "value": "logger", + "start": 2180, + "end": 2186, "loc": { "start": { - "line": 69, - "column": 8 + "line": 77, + "column": 6 }, "end": { - "line": 69, + "line": 77, "column": 12 } } @@ -23741,15 +25797,15 @@ "binop": null, "updateContext": null }, - "start": 2018, - "end": 2019, + "start": 2186, + "end": 2187, "loc": { "start": { - "line": 69, + "line": 77, "column": 12 }, "end": { - "line": 69, + "line": 77, "column": 13 } } @@ -23766,17 +25822,17 @@ "postfix": false, "binop": null }, - "value": "configureDemo", - "start": 2019, - "end": 2032, + "value": "log", + "start": 2187, + "end": 2190, "loc": { "start": { - "line": 69, + "line": 77, "column": 13 }, "end": { - "line": 69, - "column": 26 + "line": 77, + "column": 16 } } }, @@ -23792,23 +25848,22 @@ "postfix": false, "binop": null }, - "start": 2032, - "end": 2033, + "start": 2190, + "end": 2191, "loc": { "start": { - "line": 69, - "column": 26 + "line": 77, + "column": 16 }, "end": { - "line": 69, - "column": 27 + "line": 77, + "column": 17 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23816,26 +25871,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2033, - "end": 2037, + "start": 2191, + "end": 2192, "loc": { "start": { - "line": 69, - "column": 27 + "line": 77, + "column": 17 }, "end": { - "line": 69, - "column": 31 + "line": 77, + "column": 18 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23846,23 +25899,24 @@ "binop": null, "updateContext": null }, - "start": 2037, - "end": 2038, + "value": "[", + "start": 2192, + "end": 2193, "loc": { "start": { - "line": 69, - "column": 31 + "line": 77, + "column": 18 }, "end": { - "line": 69, - "column": 32 + "line": 77, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23871,25 +25925,24 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 2038, - "end": 2044, + "start": 2193, + "end": 2195, "loc": { "start": { - "line": 69, - "column": 32 + "line": 77, + "column": 19 }, "end": { - "line": 69, - "column": 38 + "line": 77, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23897,49 +25950,24 @@ "postfix": false, "binop": null }, - "start": 2044, - "end": 2045, + "value": "time", + "start": 2195, + "end": 2199, "loc": { "start": { - "line": 69, - "column": 38 + "line": 77, + "column": 21 }, "end": { - "line": 69, - "column": 39 + "line": 77, + "column": 25 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2045, - "end": 2046, - "loc": { - "start": { - "line": 69, - "column": 39 - }, - "end": { - "line": 69, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23948,78 +25976,73 @@ "postfix": false, "binop": null }, - "value": "message", - "start": 2055, - "end": 2062, + "start": 2199, + "end": 2200, "loc": { "start": { - "line": 70, - "column": 8 + "line": 77, + "column": 25 }, "end": { - "line": 70, - "column": 15 + "line": 77, + "column": 26 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2063, - "end": 2064, + "start": 2200, + "end": 2201, "loc": { "start": { - "line": 70, - "column": 16 + "line": 77, + "column": 26 }, "end": { - "line": 70, - "column": 17 + "line": 77, + "column": 27 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "reload", - "start": 2065, - "end": 2073, + "start": 2201, + "end": 2202, "loc": { "start": { - "line": 70, - "column": 18 + "line": 77, + "column": 27 }, "end": { - "line": 70, - "column": 26 + "line": 77, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -24029,24 +26052,25 @@ "binop": null, "updateContext": null }, - "start": 2073, - "end": 2074, + "value": "] ", + "start": 2202, + "end": 2204, "loc": { "start": { - "line": 70, - "column": 26 + "line": 77, + "column": 28 }, "end": { - "line": 70, - "column": 27 + "line": 77, + "column": 30 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24054,16 +26078,16 @@ "postfix": false, "binop": null }, - "start": 2081, - "end": 2082, + "start": 2204, + "end": 2206, "loc": { "start": { - "line": 71, - "column": 6 + "line": 77, + "column": 30 }, "end": { - "line": 71, - "column": 7 + "line": 77, + "column": 32 } } }, @@ -24080,16 +26104,16 @@ "binop": null }, "value": "logger", - "start": 2089, - "end": 2095, + "start": 2206, + "end": 2212, "loc": { "start": { - "line": 72, - "column": 6 + "line": 77, + "column": 32 }, "end": { - "line": 72, - "column": 12 + "line": 77, + "column": 38 } } }, @@ -24106,16 +26130,16 @@ "binop": null, "updateContext": null }, - "start": 2095, - "end": 2096, + "start": 2212, + "end": 2213, "loc": { "start": { - "line": 72, - "column": 12 + "line": 77, + "column": 38 }, "end": { - "line": 72, - "column": 13 + "line": 77, + "column": 39 } } }, @@ -24131,17 +26155,17 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 2096, - "end": 2099, + "value": "_chalk", + "start": 2213, + "end": 2219, "loc": { "start": { - "line": 72, - "column": 13 + "line": 77, + "column": 39 }, "end": { - "line": 72, - "column": 16 + "line": 77, + "column": 45 } } }, @@ -24157,22 +26181,22 @@ "postfix": false, "binop": null }, - "start": 2099, - "end": 2100, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 72, - "column": 16 + "line": 77, + "column": 45 }, "end": { - "line": 72, - "column": 17 + "line": 77, + "column": 46 } } }, { "type": { - "label": "`", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24180,25 +26204,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2100, - "end": 2101, + "value": "Reloading browser", + "start": 2220, + "end": 2239, "loc": { "start": { - "line": 72, - "column": 17 + "line": 77, + "column": 46 }, "end": { - "line": 72, - "column": 18 + "line": 77, + "column": 65 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -24208,50 +26234,51 @@ "binop": null, "updateContext": null }, - "value": "[", - "start": 2101, - "end": 2102, + "start": 2239, + "end": 2240, "loc": { "start": { - "line": 72, - "column": 18 + "line": 77, + "column": 65 }, "end": { - "line": 72, - "column": 19 + "line": 77, + "column": 66 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2102, - "end": 2104, + "value": "cyan", + "start": 2241, + "end": 2247, "loc": { "start": { - "line": 72, - "column": 19 + "line": 77, + "column": 67 }, "end": { - "line": 72, - "column": 21 + "line": 77, + "column": 73 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24259,25 +26286,24 @@ "postfix": false, "binop": null }, - "value": "time", - "start": 2104, - "end": 2108, + "start": 2247, + "end": 2248, "loc": { "start": { - "line": 72, - "column": 21 + "line": 77, + "column": 73 }, "end": { - "line": 72, - "column": 25 + "line": 77, + "column": 74 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24285,22 +26311,22 @@ "postfix": false, "binop": null }, - "start": 2108, - "end": 2109, + "start": 2248, + "end": 2249, "loc": { "start": { - "line": 72, - "column": 25 + "line": 77, + "column": 74 }, "end": { - "line": 72, - "column": 26 + "line": 77, + "column": 75 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24308,26 +26334,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2109, - "end": 2110, + "value": "", + "start": 2249, + "end": 2249, "loc": { "start": { - "line": 72, - "column": 26 + "line": 77, + "column": 75 }, "end": { - "line": 72, - "column": 27 + "line": 77, + "column": 75 } } }, { "type": { - "label": "}", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24335,22 +26363,22 @@ "postfix": false, "binop": null }, - "start": 2110, - "end": 2111, + "start": 2249, + "end": 2250, "loc": { "start": { - "line": 72, - "column": 27 + "line": 77, + "column": 75 }, "end": { - "line": 72, - "column": 28 + "line": 77, + "column": 76 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24358,51 +26386,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "] ", - "start": 2111, - "end": 2113, + "start": 2250, + "end": 2251, "loc": { "start": { - "line": 72, - "column": 28 + "line": 77, + "column": 76 }, "end": { - "line": 72, - "column": 30 + "line": 77, + "column": 77 } } }, { "type": { - "label": "${", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2113, - "end": 2115, + "start": 2251, + "end": 2252, "loc": { "start": { - "line": 72, - "column": 30 + "line": 77, + "column": 77 }, "end": { - "line": 72, - "column": 32 + "line": 77, + "column": 78 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24410,19 +26438,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 2115, - "end": 2121, + "value": "this", + "start": 2259, + "end": 2263, "loc": { "start": { - "line": 72, - "column": 32 + "line": 78, + "column": 6 }, "end": { - "line": 72, - "column": 38 + "line": 78, + "column": 10 } } }, @@ -24439,16 +26468,16 @@ "binop": null, "updateContext": null }, - "start": 2121, - "end": 2122, + "start": 2263, + "end": 2264, "loc": { "start": { - "line": 72, - "column": 38 + "line": 78, + "column": 10 }, "end": { - "line": 72, - "column": 39 + "line": 78, + "column": 11 } } }, @@ -24464,17 +26493,17 @@ "postfix": false, "binop": null }, - "value": "_chalk", - "start": 2122, - "end": 2128, + "value": "emit", + "start": 2264, + "end": 2268, "loc": { "start": { - "line": 72, - "column": 39 + "line": 78, + "column": 11 }, "end": { - "line": 72, - "column": 45 + "line": 78, + "column": 15 } } }, @@ -24490,22 +26519,22 @@ "postfix": false, "binop": null }, - "start": 2128, - "end": 2129, + "start": 2268, + "end": 2269, "loc": { "start": { - "line": 72, - "column": 45 + "line": 78, + "column": 15 }, "end": { - "line": 72, - "column": 46 + "line": 78, + "column": 16 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24513,54 +26542,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Reloading browser", - "start": 2129, - "end": 2148, + "value": "message", + "start": 2269, + "end": 2276, "loc": { "start": { - "line": 72, - "column": 46 + "line": 78, + "column": 16 }, "end": { - "line": 72, - "column": 65 + "line": 78, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2148, - "end": 2149, + "start": 2276, + "end": 2277, "loc": { "start": { - "line": 72, - "column": 65 + "line": 78, + "column": 23 }, "end": { - "line": 72, - "column": 66 + "line": 78, + "column": 24 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24569,25 +26596,24 @@ "binop": null, "updateContext": null }, - "value": "cyan", - "start": 2150, - "end": 2156, + "start": 2277, + "end": 2278, "loc": { "start": { - "line": 72, - "column": 67 + "line": 78, + "column": 24 }, "end": { - "line": 72, - "column": 73 + "line": 78, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24595,22 +26621,23 @@ "postfix": false, "binop": null }, - "start": 2156, - "end": 2157, + "value": "worker", + "start": 2285, + "end": 2291, "loc": { "start": { - "line": 72, - "column": 73 + "line": 79, + "column": 6 }, "end": { - "line": 72, - "column": 74 + "line": 79, + "column": 12 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24618,52 +26645,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2157, - "end": 2158, + "start": 2291, + "end": 2292, "loc": { "start": { - "line": 72, - "column": 74 + "line": 79, + "column": 12 }, "end": { - "line": 72, - "column": 75 + "line": 79, + "column": 13 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 2158, - "end": 2158, + "value": "kill", + "start": 2292, + "end": 2296, "loc": { "start": { - "line": 72, - "column": 75 + "line": 79, + "column": 13 }, "end": { - "line": 72, - "column": 75 + "line": 79, + "column": 17 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24672,16 +26699,16 @@ "postfix": false, "binop": null }, - "start": 2158, - "end": 2159, + "start": 2296, + "end": 2297, "loc": { "start": { - "line": 72, - "column": 75 + "line": 79, + "column": 17 }, "end": { - "line": 72, - "column": 76 + "line": 79, + "column": 18 } } }, @@ -24697,16 +26724,16 @@ "postfix": false, "binop": null }, - "start": 2159, - "end": 2160, + "start": 2297, + "end": 2298, "loc": { "start": { - "line": 72, - "column": 76 + "line": 79, + "column": 18 }, "end": { - "line": 72, - "column": 77 + "line": 79, + "column": 19 } } }, @@ -24723,16 +26750,16 @@ "binop": null, "updateContext": null }, - "start": 2160, - "end": 2161, + "start": 2298, + "end": 2299, "loc": { "start": { - "line": 72, - "column": 77 + "line": 79, + "column": 19 }, "end": { - "line": 72, - "column": 78 + "line": 79, + "column": 20 } } }, @@ -24751,15 +26778,15 @@ "updateContext": null }, "value": "this", - "start": 2168, - "end": 2172, + "start": 2306, + "end": 2310, "loc": { "start": { - "line": 73, + "line": 80, "column": 6 }, "end": { - "line": 73, + "line": 80, "column": 10 } } @@ -24777,15 +26804,15 @@ "binop": null, "updateContext": null }, - "start": 2172, - "end": 2173, + "start": 2310, + "end": 2311, "loc": { "start": { - "line": 73, + "line": 80, "column": 10 }, "end": { - "line": 73, + "line": 80, "column": 11 } } @@ -24802,48 +26829,51 @@ "postfix": false, "binop": null }, - "value": "emit", - "start": 2173, - "end": 2177, + "value": "busy", + "start": 2311, + "end": 2315, "loc": { "start": { - "line": 73, + "line": 80, "column": 11 }, "end": { - "line": 73, + "line": 80, "column": 15 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2177, - "end": 2178, + "value": "=", + "start": 2316, + "end": 2317, "loc": { "start": { - "line": 73, - "column": 15 + "line": 80, + "column": 16 }, "end": { - "line": 73, - "column": 16 + "line": 80, + "column": 17 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24851,44 +26881,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "message", - "start": 2178, - "end": 2185, + "value": "false", + "start": 2318, + "end": 2323, "loc": { "start": { - "line": 73, - "column": 16 + "line": 80, + "column": 18 }, "end": { - "line": 73, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2185, - "end": 2186, - "loc": { - "start": { - "line": 73, + "line": 80, "column": 23 - }, - "end": { - "line": 73, - "column": 24 } } }, @@ -24905,16 +26911,16 @@ "binop": null, "updateContext": null }, - "start": 2186, - "end": 2187, + "start": 2323, + "end": 2324, "loc": { "start": { - "line": 73, - "column": 24 + "line": 80, + "column": 23 }, "end": { - "line": 73, - "column": 25 + "line": 80, + "column": 24 } } }, @@ -24930,15 +26936,15 @@ "postfix": false, "binop": null }, - "start": 2192, - "end": 2193, + "start": 2329, + "end": 2330, "loc": { "start": { - "line": 74, + "line": 81, "column": 4 }, "end": { - "line": 74, + "line": 81, "column": 5 } } @@ -24955,15 +26961,15 @@ "postfix": false, "binop": null }, - "start": 2193, - "end": 2194, + "start": 2330, + "end": 2331, "loc": { "start": { - "line": 74, + "line": 81, "column": 5 }, "end": { - "line": 74, + "line": 81, "column": 6 } } @@ -24981,15 +26987,15 @@ "binop": null, "updateContext": null }, - "start": 2194, - "end": 2195, + "start": 2331, + "end": 2332, "loc": { "start": { - "line": 74, + "line": 81, "column": 6 }, "end": { - "line": 74, + "line": 81, "column": 7 } } @@ -25007,15 +27013,15 @@ "binop": null }, "value": "worker", - "start": 2200, - "end": 2206, + "start": 2337, + "end": 2343, "loc": { "start": { - "line": 75, + "line": 82, "column": 4 }, "end": { - "line": 75, + "line": 82, "column": 10 } } @@ -25033,15 +27039,15 @@ "binop": null, "updateContext": null }, - "start": 2206, - "end": 2207, + "start": 2343, + "end": 2344, "loc": { "start": { - "line": 75, + "line": 82, "column": 10 }, "end": { - "line": 75, + "line": 82, "column": 11 } } @@ -25059,15 +27065,15 @@ "binop": null }, "value": "send", - "start": 2207, - "end": 2211, + "start": 2344, + "end": 2348, "loc": { "start": { - "line": 75, + "line": 82, "column": 11 }, "end": { - "line": 75, + "line": 82, "column": 15 } } @@ -25084,15 +27090,15 @@ "postfix": false, "binop": null }, - "start": 2211, - "end": 2212, + "start": 2348, + "end": 2349, "loc": { "start": { - "line": 75, + "line": 82, "column": 15 }, "end": { - "line": 75, + "line": 82, "column": 16 } } @@ -25109,15 +27115,15 @@ "postfix": false, "binop": null }, - "start": 2212, - "end": 2213, + "start": 2349, + "end": 2350, "loc": { "start": { - "line": 75, + "line": 82, "column": 16 }, "end": { - "line": 75, + "line": 82, "column": 17 } } @@ -25135,15 +27141,15 @@ "binop": null }, "value": "task", - "start": 2213, - "end": 2217, + "start": 2350, + "end": 2354, "loc": { "start": { - "line": 75, + "line": 82, "column": 17 }, "end": { - "line": 75, + "line": 82, "column": 21 } } @@ -25161,15 +27167,15 @@ "binop": null, "updateContext": null }, - "start": 2217, - "end": 2218, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 75, + "line": 82, "column": 21 }, "end": { - "line": 75, + "line": 82, "column": 22 } } @@ -25187,15 +27193,15 @@ "binop": null }, "value": "task", - "start": 2219, - "end": 2223, + "start": 2356, + "end": 2360, "loc": { "start": { - "line": 75, + "line": 82, "column": 23 }, "end": { - "line": 75, + "line": 82, "column": 27 } } @@ -25213,15 +27219,15 @@ "binop": null, "updateContext": null }, - "start": 2223, - "end": 2224, + "start": 2360, + "end": 2361, "loc": { "start": { - "line": 75, + "line": 82, "column": 27 }, "end": { - "line": 75, + "line": 82, "column": 28 } } @@ -25239,15 +27245,15 @@ "binop": null }, "value": "config", - "start": 2225, - "end": 2231, + "start": 2362, + "end": 2368, "loc": { "start": { - "line": 75, + "line": 82, "column": 29 }, "end": { - "line": 75, + "line": 82, "column": 35 } } @@ -25265,15 +27271,15 @@ "binop": null, "updateContext": null }, - "start": 2231, - "end": 2232, + "start": 2368, + "end": 2369, "loc": { "start": { - "line": 75, + "line": 82, "column": 35 }, "end": { - "line": 75, + "line": 82, "column": 36 } } @@ -25291,15 +27297,15 @@ "binop": null }, "value": "config", - "start": 2233, - "end": 2239, + "start": 2370, + "end": 2376, "loc": { "start": { - "line": 75, + "line": 82, "column": 37 }, "end": { - "line": 75, + "line": 82, "column": 43 } } @@ -25316,15 +27322,15 @@ "postfix": false, "binop": null }, - "start": 2239, - "end": 2240, + "start": 2376, + "end": 2377, "loc": { "start": { - "line": 75, + "line": 82, "column": 43 }, "end": { - "line": 75, + "line": 82, "column": 44 } } @@ -25341,15 +27347,15 @@ "postfix": false, "binop": null }, - "start": 2240, - "end": 2241, + "start": 2377, + "end": 2378, "loc": { "start": { - "line": 75, + "line": 82, "column": 44 }, "end": { - "line": 75, + "line": 82, "column": 45 } } @@ -25367,15 +27373,15 @@ "binop": null, "updateContext": null }, - "start": 2241, - "end": 2242, + "start": 2378, + "end": 2379, "loc": { "start": { - "line": 75, + "line": 82, "column": 45 }, "end": { - "line": 75, + "line": 82, "column": 46 } } @@ -25392,15 +27398,15 @@ "postfix": false, "binop": null }, - "start": 2245, - "end": 2246, + "start": 2382, + "end": 2383, "loc": { "start": { - "line": 76, + "line": 83, "column": 2 }, "end": { - "line": 76, + "line": 83, "column": 3 } } @@ -25408,15 +27414,15 @@ { "type": "CommentLine", "value": " on(event, fn) {", - "start": 2250, - "end": 2268, + "start": 2387, + "end": 2405, "loc": { "start": { - "line": 78, + "line": 85, "column": 2 }, "end": { - "line": 78, + "line": 85, "column": 20 } } @@ -25424,15 +27430,15 @@ { "type": "CommentLine", "value": " this.on(event, fn);", - "start": 2271, - "end": 2295, + "start": 2408, + "end": 2432, "loc": { "start": { - "line": 79, + "line": 86, "column": 2 }, "end": { - "line": 79, + "line": 86, "column": 26 } } @@ -25440,15 +27446,15 @@ { "type": "CommentLine", "value": " }", - "start": 2298, - "end": 2302, + "start": 2435, + "end": 2439, "loc": { "start": { - "line": 80, + "line": 87, "column": 2 }, "end": { - "line": 80, + "line": 87, "column": 6 } } @@ -25456,15 +27462,15 @@ { "type": "CommentLine", "value": " this.watcher = chokidar.watch(config.watchers, config.options);", - "start": 2308, - "end": 2374, + "start": 2445, + "end": 2511, "loc": { "start": { - "line": 82, + "line": 89, "column": 4 }, "end": { - "line": 82, + "line": 89, "column": 70 } } @@ -25472,15 +27478,15 @@ { "type": "CommentLine", "value": " this.watcher.on('change', path => logger.log(`File ${path} has been changed`));", - "start": 2379, - "end": 2461, + "start": 2516, + "end": 2598, "loc": { "start": { - "line": 83, + "line": 90, "column": 4 }, "end": { - "line": 83, + "line": 90, "column": 86 } } @@ -25497,15 +27503,15 @@ "postfix": false, "binop": null }, - "start": 2462, - "end": 2463, + "start": 2599, + "end": 2600, "loc": { "start": { - "line": 84, + "line": 91, "column": 0 }, "end": { - "line": 84, + "line": 91, "column": 1 } } @@ -25525,15 +27531,15 @@ "updateContext": null }, "value": "export", - "start": 2464, - "end": 2470, + "start": 2601, + "end": 2607, "loc": { "start": { - "line": 85, + "line": 92, "column": 0 }, "end": { - "line": 85, + "line": 92, "column": 6 } } @@ -25553,15 +27559,15 @@ "updateContext": null }, "value": "default", - "start": 2471, - "end": 2478, + "start": 2608, + "end": 2615, "loc": { "start": { - "line": 85, + "line": 92, "column": 7 }, "end": { - "line": 85, + "line": 92, "column": 14 } } @@ -25581,15 +27587,15 @@ "updateContext": null }, "value": "new", - "start": 2479, - "end": 2482, + "start": 2616, + "end": 2619, "loc": { "start": { - "line": 85, + "line": 92, "column": 15 }, "end": { - "line": 85, + "line": 92, "column": 18 } } @@ -25607,15 +27613,15 @@ "binop": null }, "value": "Watcher", - "start": 2483, - "end": 2490, + "start": 2620, + "end": 2627, "loc": { "start": { - "line": 85, + "line": 92, "column": 19 }, "end": { - "line": 85, + "line": 92, "column": 26 } } @@ -25632,15 +27638,15 @@ "postfix": false, "binop": null }, - "start": 2490, - "end": 2491, + "start": 2627, + "end": 2628, "loc": { "start": { - "line": 85, + "line": 92, "column": 26 }, "end": { - "line": 85, + "line": 92, "column": 27 } } @@ -25657,15 +27663,15 @@ "postfix": false, "binop": null }, - "start": 2491, - "end": 2492, + "start": 2628, + "end": 2629, "loc": { "start": { - "line": 85, + "line": 92, "column": 27 }, "end": { - "line": 85, + "line": 92, "column": 28 } } @@ -25683,15 +27689,15 @@ "binop": null, "updateContext": null }, - "start": 2492, - "end": 2493, + "start": 2629, + "end": 2630, "loc": { "start": { - "line": 85, + "line": 92, "column": 28 }, "end": { - "line": 85, + "line": 92, "column": 29 } } @@ -25709,15 +27715,15 @@ "binop": null, "updateContext": null }, - "start": 2494, - "end": 2494, + "start": 2631, + "end": 2631, "loc": { "start": { - "line": 86, + "line": 93, "column": 0 }, "end": { - "line": 86, + "line": 93, "column": 0 } } diff --git a/docs/badge.svg b/docs/badge.svg index e5a4364..78bd2d9 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 38% - 38% + 37% + 37% diff --git a/docs/class/src/watcher.js~watcher.html b/docs/class/src/watcher.js~watcher.html index f97c2d0..98942da 100644 --- a/docs/class/src/watcher.js~watcher.html +++ b/docs/class/src/watcher.js~watcher.html @@ -48,7 +48,7 @@ - | source + | source
@@ -97,6 +97,33 @@

Watcher

+ + + +
+

+ + + busy: boolean +

+
+
+ + + +
+ + + + + + + + + public + + + @@ -217,6 +244,49 @@

Watcher

Public Members

+
+

+ public + + + + + + busy: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +

public @@ -229,7 +299,7 @@

- source + source

@@ -275,7 +345,7 @@

- source + source

@@ -334,7 +404,7 @@

- source + source

@@ -399,7 +469,7 @@

- source + source

diff --git a/docs/coverage.json b/docs/coverage.json index 77d5bde..f0ee5e8 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "38.46%", - "expectCount": 26, + "coverage": "37.03%", + "expectCount": 27, "actualCount": 10, "files": { "src/config.js": { @@ -28,13 +28,14 @@ ] }, "src/watcher.js": { - "expectCount": 6, + "expectCount": 7, "actualCount": 2, "undocumentLines": [ - 47, - 64, - 28, - 85 + 68, + 48, + 65, + 29, + 92 ] } } diff --git a/docs/dump.json b/docs/dump.json index e45d78e..2d11b79 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -1297,7 +1297,7 @@ "__docId__": 44, "kind": "file", "name": "src/watcher.js", - "content": "'use strict';\nconst {fork} = require('child_process');\nconst chokidar = require('chokidar');\nconst path = require('path');\nconst EventEmitter = require('events');\nconst {readFileSync, writeFileSync} = require('fs');\n// const {merge} = require('lodash');\nconst logger = require('backed-logger');\nconst time = () => {\n return new Date().toLocaleTimeString();\n};\n\n/**\n * @extends EventEmitter\n */\nclass Watcher extends EventEmitter {\n\n /**\n * @param {object} config {@link Config}\n */\n watch(config) {\n return new Promise((resolve, reject) => {\n if (!config.watch) {\n logger.warn('nothing to watch');\n reject('nothing to watch');\n return process.kill(process.pid, 'SIGINT');\n }\n this.server = config.server;\n this.configureDemo(this.server);\n\n logger.log(`[${time()}] ${logger._chalk('Starting initial build', 'cyan')}`);\n this.runWorker(config);\n\n logger.log(`[${time()}] ${logger._chalk('Watching files for changes', 'cyan')}`);\n\n let watchers = {};\n for (let watch of config.watch) {\n watchers[watch.task] = chokidar.watch(watch.src, watch.options);\n watchers[watch.task].on('change', () => {\n this.runWorker(watch.task, config);\n });\n }\n resolve();\n });\n }\n\n configureDemo(server) {\n logger.log(`[${time()}] ${logger._chalk('Configuring demo', 'cyan')}`);\n\n if (server) {\n let demoPath = path.join(process.cwd(), server.demo);\n\n if (!demoPath.includes('index.html')) {\n demoPath = path.join(demoPath, 'index.html');\n }\n let demo = readFileSync(demoPath, 'utf-8');\n if (!demo.includes('/reload/reload.js')) {\n demo = demo.replace('', '\\t\\n');\n writeFileSync(demoPath, demo);\n }\n }\n }\n\n runWorker(task, config) {\n let worker;\n worker = fork(path.join(__dirname, 'workers/watcher-worker.js'));\n worker.on('message', message => {\n if (message === 'done') {\n this.configureDemo(this.server);\n message = 'reload';\n }\n logger.log(`[${time()}] ${logger._chalk('Reloading browser', 'cyan')}`);\n this.emit(message);\n });\n worker.send({task: task, config: config});\n }\n\n // on(event, fn) {\n // this.on(event, fn);\n // }\n\n // this.watcher = chokidar.watch(config.watchers, config.options);\n // this.watcher.on('change', path => logger.log(`File ${path} has been changed`));\n}\nexport default new Watcher();\n", + "content": "'use strict';\nconst {fork} = require('child_process');\nconst chokidar = require('chokidar');\nconst path = require('path');\nconst EventEmitter = require('events');\nconst {readFileSync, writeFileSync} = require('fs');\n// const {merge} = require('lodash');\nconst logger = require('backed-logger');\nconst time = () => {\n return new Date().toLocaleTimeString();\n};\nlet worker;\n\n/**\n * @extends EventEmitter\n */\nclass Watcher extends EventEmitter {\n\n /**\n * @param {object} config {@link Config}\n */\n watch(config) {\n return new Promise((resolve, reject) => {\n if (!config.watch) {\n logger.warn('nothing to watch');\n reject('nothing to watch');\n return process.kill(process.pid, 'SIGINT');\n }\n this.server = config.server;\n this.configureDemo(this.server);\n\n logger.log(`[${time()}] ${logger._chalk('Starting initial build', 'cyan')}`);\n this.runWorker(config);\n\n logger.log(`[${time()}] ${logger._chalk('Watching files for changes', 'cyan')}`);\n\n let watchers = {};\n for (let watch of config.watch) {\n watchers[watch.task] = chokidar.watch(watch.src, watch.options);\n watchers[watch.task].on('change', () => {\n this.runWorker(watch.task, config);\n });\n }\n resolve();\n });\n }\n\n configureDemo(server) {\n logger.log(`[${time()}] ${logger._chalk('Configuring demo', 'cyan')}`);\n\n if (server) {\n let demoPath = path.join(process.cwd(), server.demo);\n\n if (!demoPath.includes('index.html')) {\n demoPath = path.join(demoPath, 'index.html');\n }\n let demo = readFileSync(demoPath, 'utf-8');\n if (!demo.includes('/reload/reload.js')) {\n demo = demo.replace('', '\\t\\n');\n writeFileSync(demoPath, demo);\n }\n }\n }\n\n runWorker(task, config) {\n if (this.busy) {\n worker.kill();\n this.busy = false;\n }\n this.busy = true;\n worker = fork(path.join(__dirname, 'workers/watcher-worker.js'));\n worker.on('message', message => {\n if (message === 'done') {\n this.configureDemo(this.server);\n message = 'reload';\n }\n logger.log(`[${time()}] ${logger._chalk('Reloading browser', 'cyan')}`);\n this.emit(message);\n worker.kill();\n this.busy = false;\n });\n worker.send({task: task, config: config});\n }\n\n // on(event, fn) {\n // this.on(event, fn);\n // }\n\n // this.watcher = chokidar.watch(config.watchers, config.options);\n // this.watcher.on('change', path => logger.log(`File ${path} has been changed`));\n}\nexport default new Watcher();\n", "static": true, "longname": "src/watcher.js", "access": null, @@ -1501,7 +1501,7 @@ "importPath": "backed-cli/src/watcher.js", "importStyle": null, "description": "", - "lineNumber": 16, + "lineNumber": 17, "pseudoExport": true, "interface": false, "extends": [ @@ -1519,7 +1519,7 @@ "longname": "src/watcher.js~Watcher#watch", "access": null, "description": "", - "lineNumber": 21, + "lineNumber": 22, "params": [ { "nullable": null, @@ -1547,7 +1547,7 @@ "longname": "src/watcher.js~Watcher#server", "access": null, "description": null, - "lineNumber": 28, + "lineNumber": 29, "undocument": true, "unknown": [ { @@ -1572,7 +1572,7 @@ "longname": "src/watcher.js~Watcher#configureDemo", "access": null, "description": null, - "lineNumber": 47, + "lineNumber": 48, "undocument": true, "unknown": [ { @@ -1600,7 +1600,7 @@ "longname": "src/watcher.js~Watcher#runWorker", "access": null, "description": null, - "lineNumber": 64, + "lineNumber": 65, "undocument": true, "unknown": [ { @@ -1625,6 +1625,75 @@ }, { "__docId__": 57, + "kind": "member", + "name": "busy", + "memberof": "src/watcher.js~Watcher", + "static": false, + "longname": "src/watcher.js~Watcher#busy", + "access": null, + "description": null, + "lineNumber": 68, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 58, + "kind": "member", + "name": "busy", + "memberof": "src/watcher.js~Watcher", + "static": false, + "longname": "src/watcher.js~Watcher#busy", + "access": null, + "description": null, + "lineNumber": 70, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 59, + "kind": "member", + "name": "busy", + "memberof": "src/watcher.js~Watcher", + "static": false, + "longname": "src/watcher.js~Watcher#busy", + "access": null, + "description": null, + "lineNumber": 80, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 60, "kind": "variable", "name": "watcher", "memberof": "src/watcher.js", @@ -1635,7 +1704,7 @@ "importPath": "backed-cli/src/watcher.js", "importStyle": "watcher", "description": null, - "lineNumber": 85, + "lineNumber": 92, "undocument": true, "unknown": [ { @@ -1650,7 +1719,7 @@ } }, { - "__docId__": 58, + "__docId__": 61, "kind": "file", "name": "src/workers/log-worker.js", "content": "'use strict';\nconst elegantSpinner = require('elegant-spinner');\nconst logUpdate = require('log-update');\nconst chalk = require('chalk');\nlet frame = elegantSpinner();\nlet text = 'Building';\nlet done = false;\nlet running = false;\nlet startTime;\n\nconst time = () => {\n return new Date().toLocaleTimeString();\n};\n\nconst now = () => {\n return Date.now();\n};\n\nlet interval = () => {\n setInterval(() => {\n if (running) {\n logUpdate(`[${time()}] ${text} ${frame()}`);\n if (done) {\n process.send('done');\n }\n }\n }, 50);\n};\nprocess.on('message', message => {\n if (message === 'start') {\n running = true;\n startTime = now();\n interval();\n } else if (message === 'pauze') {\n running = false;\n } else if (message === 'resume') {\n running = true;\n } else if (message.includes('finished')) {\n frame = () => {\n return '';\n };\n let period = now() - startTime;\n period /= 1000;\n text = `${message} after: ${chalk.magenta(period + ' sec')}`;\n } else if (message === 'done') {\n done = true;\n } else {\n text = message;\n }\n});\n", @@ -1661,7 +1730,7 @@ "lineNumber": 1 }, { - "__docId__": 59, + "__docId__": 62, "kind": "variable", "name": "elegantSpinner", "memberof": "src/workers/log-worker.js", @@ -1687,7 +1756,7 @@ } }, { - "__docId__": 60, + "__docId__": 63, "kind": "variable", "name": "logUpdate", "memberof": "src/workers/log-worker.js", @@ -1713,7 +1782,7 @@ } }, { - "__docId__": 61, + "__docId__": 64, "kind": "variable", "name": "chalk", "memberof": "src/workers/log-worker.js", @@ -1739,7 +1808,7 @@ } }, { - "__docId__": 62, + "__docId__": 65, "kind": "variable", "name": "frame", "memberof": "src/workers/log-worker.js", @@ -1765,7 +1834,7 @@ } }, { - "__docId__": 63, + "__docId__": 66, "kind": "variable", "name": "text", "memberof": "src/workers/log-worker.js", @@ -1791,7 +1860,7 @@ } }, { - "__docId__": 64, + "__docId__": 67, "kind": "variable", "name": "done", "memberof": "src/workers/log-worker.js", @@ -1817,7 +1886,7 @@ } }, { - "__docId__": 65, + "__docId__": 68, "kind": "variable", "name": "running", "memberof": "src/workers/log-worker.js", @@ -1843,7 +1912,7 @@ } }, { - "__docId__": 66, + "__docId__": 69, "kind": "function", "name": "time", "memberof": "src/workers/log-worker.js", @@ -1872,7 +1941,7 @@ } }, { - "__docId__": 67, + "__docId__": 70, "kind": "function", "name": "now", "memberof": "src/workers/log-worker.js", @@ -1901,7 +1970,7 @@ } }, { - "__docId__": 68, + "__docId__": 71, "kind": "function", "name": "interval", "memberof": "src/workers/log-worker.js", @@ -1925,7 +1994,7 @@ "params": [] }, { - "__docId__": 69, + "__docId__": 72, "kind": "file", "name": "src/workers/watcher-worker.js", "content": "\nconst builder = require('backed-builder');\nconst fs = require('backed-fs');\nconst logger = require('backed-logger');\n\nprocess.on('message', message => {\n const config = message.config;\n const task = message.task;\n switch (task) {\n case 'build':\n builder.build(config).then(() => {\n process.send('reload');\n });\n break;\n case 'copy':\n case 'sources':\n fs.copySources(config.sources).then(() => {\n logger.succes(`${config.name}::copy finished`);\n process.send('done');\n });\n break;\n }\n});\n", @@ -1936,7 +2005,7 @@ "lineNumber": 1 }, { - "__docId__": 70, + "__docId__": 73, "kind": "variable", "name": "builder", "memberof": "src/workers/watcher-worker.js", @@ -1962,7 +2031,7 @@ } }, { - "__docId__": 71, + "__docId__": 74, "kind": "variable", "name": "fs", "memberof": "src/workers/watcher-worker.js", @@ -1988,7 +2057,7 @@ } }, { - "__docId__": 72, + "__docId__": 75, "kind": "variable", "name": "logger", "memberof": "src/workers/watcher-worker.js", @@ -2014,7 +2083,7 @@ } }, { - "__docId__": 74, + "__docId__": 77, "kind": "external", "name": "Infinity", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", @@ -2026,7 +2095,7 @@ "builtinExternal": true }, { - "__docId__": 75, + "__docId__": 78, "kind": "external", "name": "NaN", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", @@ -2038,7 +2107,7 @@ "builtinExternal": true }, { - "__docId__": 76, + "__docId__": 79, "kind": "external", "name": "undefined", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", @@ -2050,7 +2119,7 @@ "builtinExternal": true }, { - "__docId__": 77, + "__docId__": 80, "kind": "external", "name": "null", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", @@ -2062,7 +2131,7 @@ "builtinExternal": true }, { - "__docId__": 78, + "__docId__": 81, "kind": "external", "name": "Object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -2074,7 +2143,7 @@ "builtinExternal": true }, { - "__docId__": 79, + "__docId__": 82, "kind": "external", "name": "object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -2086,7 +2155,7 @@ "builtinExternal": true }, { - "__docId__": 80, + "__docId__": 83, "kind": "external", "name": "Function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -2098,7 +2167,7 @@ "builtinExternal": true }, { - "__docId__": 81, + "__docId__": 84, "kind": "external", "name": "function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -2110,7 +2179,7 @@ "builtinExternal": true }, { - "__docId__": 82, + "__docId__": 85, "kind": "external", "name": "Boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -2122,7 +2191,7 @@ "builtinExternal": true }, { - "__docId__": 83, + "__docId__": 86, "kind": "external", "name": "boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -2134,7 +2203,7 @@ "builtinExternal": true }, { - "__docId__": 84, + "__docId__": 87, "kind": "external", "name": "Symbol", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", @@ -2146,7 +2215,7 @@ "builtinExternal": true }, { - "__docId__": 85, + "__docId__": 88, "kind": "external", "name": "Error", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", @@ -2158,7 +2227,7 @@ "builtinExternal": true }, { - "__docId__": 86, + "__docId__": 89, "kind": "external", "name": "EvalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", @@ -2170,7 +2239,7 @@ "builtinExternal": true }, { - "__docId__": 87, + "__docId__": 90, "kind": "external", "name": "InternalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", @@ -2182,7 +2251,7 @@ "builtinExternal": true }, { - "__docId__": 88, + "__docId__": 91, "kind": "external", "name": "RangeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", @@ -2194,7 +2263,7 @@ "builtinExternal": true }, { - "__docId__": 89, + "__docId__": 92, "kind": "external", "name": "ReferenceError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", @@ -2206,7 +2275,7 @@ "builtinExternal": true }, { - "__docId__": 90, + "__docId__": 93, "kind": "external", "name": "SyntaxError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", @@ -2218,7 +2287,7 @@ "builtinExternal": true }, { - "__docId__": 91, + "__docId__": 94, "kind": "external", "name": "TypeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", @@ -2230,7 +2299,7 @@ "builtinExternal": true }, { - "__docId__": 92, + "__docId__": 95, "kind": "external", "name": "URIError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", @@ -2242,7 +2311,7 @@ "builtinExternal": true }, { - "__docId__": 93, + "__docId__": 96, "kind": "external", "name": "Number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -2254,7 +2323,7 @@ "builtinExternal": true }, { - "__docId__": 94, + "__docId__": 97, "kind": "external", "name": "number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -2266,7 +2335,7 @@ "builtinExternal": true }, { - "__docId__": 95, + "__docId__": 98, "kind": "external", "name": "Date", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", @@ -2278,7 +2347,7 @@ "builtinExternal": true }, { - "__docId__": 96, + "__docId__": 99, "kind": "external", "name": "String", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -2290,7 +2359,7 @@ "builtinExternal": true }, { - "__docId__": 97, + "__docId__": 100, "kind": "external", "name": "string", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -2302,7 +2371,7 @@ "builtinExternal": true }, { - "__docId__": 98, + "__docId__": 101, "kind": "external", "name": "RegExp", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", @@ -2314,7 +2383,7 @@ "builtinExternal": true }, { - "__docId__": 99, + "__docId__": 102, "kind": "external", "name": "Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", @@ -2326,7 +2395,7 @@ "builtinExternal": true }, { - "__docId__": 100, + "__docId__": 103, "kind": "external", "name": "Int8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", @@ -2338,7 +2407,7 @@ "builtinExternal": true }, { - "__docId__": 101, + "__docId__": 104, "kind": "external", "name": "Uint8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", @@ -2350,7 +2419,7 @@ "builtinExternal": true }, { - "__docId__": 102, + "__docId__": 105, "kind": "external", "name": "Uint8ClampedArray", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", @@ -2362,7 +2431,7 @@ "builtinExternal": true }, { - "__docId__": 103, + "__docId__": 106, "kind": "external", "name": "Int16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", @@ -2374,7 +2443,7 @@ "builtinExternal": true }, { - "__docId__": 104, + "__docId__": 107, "kind": "external", "name": "Uint16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", @@ -2386,7 +2455,7 @@ "builtinExternal": true }, { - "__docId__": 105, + "__docId__": 108, "kind": "external", "name": "Int32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", @@ -2398,7 +2467,7 @@ "builtinExternal": true }, { - "__docId__": 106, + "__docId__": 109, "kind": "external", "name": "Uint32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", @@ -2410,7 +2479,7 @@ "builtinExternal": true }, { - "__docId__": 107, + "__docId__": 110, "kind": "external", "name": "Float32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", @@ -2422,7 +2491,7 @@ "builtinExternal": true }, { - "__docId__": 108, + "__docId__": 111, "kind": "external", "name": "Float64Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", @@ -2434,7 +2503,7 @@ "builtinExternal": true }, { - "__docId__": 109, + "__docId__": 112, "kind": "external", "name": "Map", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", @@ -2446,7 +2515,7 @@ "builtinExternal": true }, { - "__docId__": 110, + "__docId__": 113, "kind": "external", "name": "Set", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", @@ -2458,7 +2527,7 @@ "builtinExternal": true }, { - "__docId__": 111, + "__docId__": 114, "kind": "external", "name": "WeakMap", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", @@ -2470,7 +2539,7 @@ "builtinExternal": true }, { - "__docId__": 112, + "__docId__": 115, "kind": "external", "name": "WeakSet", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", @@ -2482,7 +2551,7 @@ "builtinExternal": true }, { - "__docId__": 113, + "__docId__": 116, "kind": "external", "name": "ArrayBuffer", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", @@ -2494,7 +2563,7 @@ "builtinExternal": true }, { - "__docId__": 114, + "__docId__": 117, "kind": "external", "name": "DataView", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", @@ -2506,7 +2575,7 @@ "builtinExternal": true }, { - "__docId__": 115, + "__docId__": 118, "kind": "external", "name": "JSON", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", @@ -2518,7 +2587,7 @@ "builtinExternal": true }, { - "__docId__": 116, + "__docId__": 119, "kind": "external", "name": "Promise", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", @@ -2530,7 +2599,7 @@ "builtinExternal": true }, { - "__docId__": 117, + "__docId__": 120, "kind": "external", "name": "Generator", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", @@ -2542,7 +2611,7 @@ "builtinExternal": true }, { - "__docId__": 118, + "__docId__": 121, "kind": "external", "name": "GeneratorFunction", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", @@ -2554,7 +2623,7 @@ "builtinExternal": true }, { - "__docId__": 119, + "__docId__": 122, "kind": "external", "name": "Reflect", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", @@ -2566,7 +2635,7 @@ "builtinExternal": true }, { - "__docId__": 120, + "__docId__": 123, "kind": "external", "name": "Proxy", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", @@ -2579,7 +2648,7 @@ "builtinExternal": true }, { - "__docId__": 122, + "__docId__": 125, "kind": "external", "name": "CanvasRenderingContext2D", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", @@ -2591,7 +2660,7 @@ "builtinExternal": true }, { - "__docId__": 123, + "__docId__": 126, "kind": "external", "name": "DocumentFragment", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", @@ -2603,7 +2672,7 @@ "builtinExternal": true }, { - "__docId__": 124, + "__docId__": 127, "kind": "external", "name": "Element", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", @@ -2615,7 +2684,7 @@ "builtinExternal": true }, { - "__docId__": 125, + "__docId__": 128, "kind": "external", "name": "Event", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", @@ -2627,7 +2696,7 @@ "builtinExternal": true }, { - "__docId__": 126, + "__docId__": 129, "kind": "external", "name": "Node", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", @@ -2639,7 +2708,7 @@ "builtinExternal": true }, { - "__docId__": 127, + "__docId__": 130, "kind": "external", "name": "NodeList", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", @@ -2651,7 +2720,7 @@ "builtinExternal": true }, { - "__docId__": 128, + "__docId__": 131, "kind": "external", "name": "XMLHttpRequest", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", @@ -2663,7 +2732,7 @@ "builtinExternal": true }, { - "__docId__": 129, + "__docId__": 132, "kind": "external", "name": "AudioContext", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", diff --git a/docs/file/src/watcher.js.html b/docs/file/src/watcher.js.html index 47ad48c..699799e 100644 --- a/docs/file/src/watcher.js.html +++ b/docs/file/src/watcher.js.html @@ -53,6 +53,7 @@ const time = () => { return new Date().toLocaleTimeString(); }; +let worker; /** * @extends EventEmitter @@ -106,7 +107,11 @@ } runWorker(task, config) { - let worker; + if (this.busy) { + worker.kill(); + this.busy = false; + } + this.busy = true; worker = fork(path.join(__dirname, 'workers/watcher-worker.js')); worker.on('message', message => { if (message === 'done') { @@ -115,6 +120,8 @@ } logger.log(`[${time()}] ${logger._chalk('Reloading browser', 'cyan')}`); this.emit(message); + worker.kill(); + this.busy = false; }); worker.send({task: task, config: config}); } diff --git a/docs/index.html b/docs/index.html index bd03530..68e5af2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -167,12 +167,15 @@

Projects using Backed CLI

components

frameworks

  • Backed - Small web framework for quick app & component development
+

Organizations using Backed CLI

+

License

MIT © Glenn Vandeuren

diff --git a/docs/package.json b/docs/package.json index ddc5aea..6c5965b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "backed-cli", - "version": "0.5.6", + "version": "0.6.0", "description": "The official command line interface for Backed", "homepage": "https://github.com/vandeurenglenn/backed-cli", "author": { @@ -25,7 +25,6 @@ ], "devDependencies": { "babel-preset-es2015": "^6.24.1", - "babel-preset-es2016": "^6.24.1", "del": "^2.2.2", "esdoc": "^0.5.2", "eslint": "^3.1.1", @@ -40,9 +39,7 @@ "gulp-nsp": "^2.1.0", "gulp-plumber": "^1.0.0", "merge-stream": "^1.0.1", - "rollup-plugin-closure-compiler-js": "^1.0.4", - "rollup-plugin-uglify": "^1.0.2", - "uglify-js-harmony": "^2.7.5" + "rollup-plugin-uglify": "^1.0.2" }, "eslintConfig": { "extends": "xo-space", @@ -86,5 +83,25 @@ "experimentalProposal": { "asyncGenerators": true } + }, + "babel": { + "presets": [ + [ + "es2015", + { + "modules": false + } + ] + ], + "plugins": [ + "external-helpers", + [ + "transform-runtime", + { + "polyfill": false, + "regenerator": true + } + ] + ] } } diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 94504e5..2412687 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -485,6 +485,12 @@ window.esdocSearchIndex = [ "src/watcher.js", "file" ], + [ + "src/watcher.js~watcher#busy", + "class/src/watcher.js~Watcher.html#instance-member-busy", + "src/watcher.js~Watcher#busy", + "member" + ], [ "src/watcher.js~watcher#configuredemo", "class/src/watcher.js~Watcher.html#instance-method-configureDemo", diff --git a/docs/source.html b/docs/source.html index acfba1e..8d744c2 100644 --- a/docs/source.html +++ b/docs/source.html @@ -41,7 +41,7 @@
-

Source 10/26

+

Source 10/27

@@ -82,13 +82,13 @@ - + - - - - + + + + diff --git a/docs/variable/index.html b/docs/variable/index.html index 799b8f4..8d935c7 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -160,11 +160,11 @@

- source + source

-
import watcher from 'backed-cli/src/watcher.js'
+
import watcher from 'backed-cli/src/watcher.js'
diff --git a/gulpfile.js b/gulpfile.js index 6f59d0b..53c6e2a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,7 +81,7 @@ task('rollup:run', () => { }).then(bundle => { var result = bundle.generate({ format: 'cjs', - moduleName: 'backed' + moduleName: 'Backed' }); // Cache our bundle for later use (optional) cache = bundle; diff --git a/package.json b/package.json index 032bc7c..6c5965b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backed-cli", - "version": "0.5.6", + "version": "0.6.0", "description": "The official command line interface for Backed", "homepage": "https://github.com/vandeurenglenn/backed-cli", "author": {
2017-04-01 20:11:55 (UTC)
src/watcher.jssrc/watcher.js Watcher watcher33 %2/62494 byte852017-04-01 20:08:52 (UTC)28 %2/72631 byte922017-05-01 23:28:03 (UTC)
src/workers/log-worker.js