{
  "type": "Program",
  "start": 0,
  "end": 1562,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 52,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "ImportDeclaration",
      "start": 0,
      "end": 37,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 37
        }
      },
      "specifiers": [],
      "source": {
        "type": "Literal",
        "start": 7,
        "end": 36,
        "loc": {
          "start": {
            "line": 1,
            "column": 7
          },
          "end": {
            "line": 1,
            "column": 36
          }
        },
        "value": "source-map-support/register",
        "rawValue": "source-map-support/register",
        "raw": "'source-map-support/register'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 39,
      "end": 65,
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 26
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 46,
          "end": 51,
          "loc": {
            "start": {
              "line": 3,
              "column": 7
            },
            "end": {
              "line": 3,
              "column": 12
            }
          },
          "local": {
            "type": "Identifier",
            "start": 46,
            "end": 51,
            "loc": {
              "start": {
                "line": 3,
                "column": 7
              },
              "end": {
                "line": 3,
                "column": 12
              }
            },
            "name": "debug"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 57,
        "end": 64,
        "loc": {
          "start": {
            "line": 3,
            "column": 18
          },
          "end": {
            "line": 3,
            "column": 25
          }
        },
        "value": "debug",
        "rawValue": "debug",
        "raw": "'debug'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 66,
      "end": 88,
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 22
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 73,
          "end": 76,
          "loc": {
            "start": {
              "line": 4,
              "column": 7
            },
            "end": {
              "line": 4,
              "column": 10
            }
          },
          "local": {
            "type": "Identifier",
            "start": 73,
            "end": 76,
            "loc": {
              "start": {
                "line": 4,
                "column": 7
              },
              "end": {
                "line": 4,
                "column": 10
              }
            },
            "name": "koa"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 82,
        "end": 87,
        "loc": {
          "start": {
            "line": 4,
            "column": 16
          },
          "end": {
            "line": 4,
            "column": 21
          }
        },
        "value": "koa",
        "rawValue": "koa",
        "raw": "'koa'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 89,
      "end": 154,
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 65
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 96,
          "end": 119,
          "loc": {
            "start": {
              "line": 5,
              "column": 7
            },
            "end": {
              "line": 5,
              "column": 30
            }
          },
          "local": {
            "type": "Identifier",
            "start": 96,
            "end": 119,
            "loc": {
              "start": {
                "line": 5,
                "column": 7
              },
              "end": {
                "line": 5,
                "column": 30
              }
            },
            "name": "koaWebpackDevMiddleware"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 125,
        "end": 153,
        "loc": {
          "start": {
            "line": 5,
            "column": 36
          },
          "end": {
            "line": 5,
            "column": 64
          }
        },
        "value": "koa-webpack-dev-middleware",
        "rawValue": "koa-webpack-dev-middleware",
        "raw": "'koa-webpack-dev-middleware'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 155,
      "end": 220,
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 6,
          "column": 65
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 162,
          "end": 185,
          "loc": {
            "start": {
              "line": 6,
              "column": 7
            },
            "end": {
              "line": 6,
              "column": 30
            }
          },
          "local": {
            "type": "Identifier",
            "start": 162,
            "end": 185,
            "loc": {
              "start": {
                "line": 6,
                "column": 7
              },
              "end": {
                "line": 6,
                "column": 30
              }
            },
            "name": "koaWebpackHotMiddleware"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 191,
        "end": 219,
        "loc": {
          "start": {
            "line": 6,
            "column": 36
          },
          "end": {
            "line": 6,
            "column": 64
          }
        },
        "value": "koa-webpack-hot-middleware",
        "rawValue": "koa-webpack-hot-middleware",
        "raw": "'koa-webpack-hot-middleware'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 221,
      "end": 255,
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 7,
          "column": 34
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 230,
          "end": 241,
          "loc": {
            "start": {
              "line": 7,
              "column": 9
            },
            "end": {
              "line": 7,
              "column": 20
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 230,
            "end": 241,
            "loc": {
              "start": {
                "line": 7,
                "column": 9
              },
              "end": {
                "line": 7,
                "column": 20
              }
            },
            "name": "getSettings"
          },
          "local": {
            "type": "Identifier",
            "start": 230,
            "end": 241,
            "loc": {
              "start": {
                "line": 7,
                "column": 9
              },
              "end": {
                "line": 7,
                "column": 20
              }
            },
            "name": "getSettings"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 249,
        "end": 254,
        "loc": {
          "start": {
            "line": 7,
            "column": 28
          },
          "end": {
            "line": 7,
            "column": 33
          }
        },
        "value": "roc",
        "rawValue": "roc",
        "raw": "'roc'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 257,
      "end": 305,
      "loc": {
        "start": {
          "line": 9,
          "column": 0
        },
        "end": {
          "line": 9,
          "column": 48
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 266,
          "end": 276,
          "loc": {
            "start": {
              "line": 9,
              "column": 9
            },
            "end": {
              "line": 9,
              "column": 19
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 266,
            "end": 276,
            "loc": {
              "start": {
                "line": 9,
                "column": 9
              },
              "end": {
                "line": 9,
                "column": 19
              }
            },
            "name": "getDevPort"
          },
          "local": {
            "type": "Identifier",
            "start": 266,
            "end": 276,
            "loc": {
              "start": {
                "line": 9,
                "column": 9
              },
              "end": {
                "line": 9,
                "column": 19
              }
            },
            "name": "getDevPort"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 284,
        "end": 304,
        "loc": {
          "start": {
            "line": 9,
            "column": 27
          },
          "end": {
            "line": 9,
            "column": 47
          }
        },
        "value": "../helpers/general",
        "rawValue": "../helpers/general",
        "raw": "'../helpers/general'"
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Client watcher.\n *\n * @param {object} compiler - Webpack compiler instance.\n * @returns {Promise} Resolves after it has completed.\n ",
          "start": 307,
          "end": 448,
          "loc": {
            "start": {
              "line": 11,
              "column": 0
            },
            "end": {
              "line": 16,
              "column": 3
            }
          },
          "range": [
            307,
            448
          ]
        }
      ]
    },
    {
      "type": "ExportDefaultDeclaration",
      "start": 449,
      "end": 1561,
      "loc": {
        "start": {
          "line": 17,
          "column": 0
        },
        "end": {
          "line": 51,
          "column": 1
        }
      },
      "declaration": {
        "type": "FunctionDeclaration",
        "start": 464,
        "end": 1561,
        "loc": {
          "start": {
            "line": 17,
            "column": 15
          },
          "end": {
            "line": 51,
            "column": 1
          }
        },
        "id": {
          "type": "Identifier",
          "start": 473,
          "end": 484,
          "loc": {
            "start": {
              "line": 17,
              "column": 24
            },
            "end": {
              "line": 17,
              "column": 35
            }
          },
          "name": "watchClient",
          "leadingComments": null
        },
        "generator": false,
        "expression": false,
        "async": false,
        "params": [
          {
            "type": "Identifier",
            "start": 485,
            "end": 493,
            "loc": {
              "start": {
                "line": 17,
                "column": 36
              },
              "end": {
                "line": 17,
                "column": 44
              }
            },
            "name": "compiler"
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start": 495,
          "end": 1561,
          "loc": {
            "start": {
              "line": 17,
              "column": 46
            },
            "end": {
              "line": 51,
              "column": 1
            }
          },
          "body": [
            {
              "type": "VariableDeclaration",
              "start": 501,
              "end": 537,
              "loc": {
                "start": {
                  "line": 18,
                  "column": 4
                },
                "end": {
                  "line": 18,
                  "column": 40
                }
              },
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "start": 507,
                  "end": 536,
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 10
                    },
                    "end": {
                      "line": 18,
                      "column": 39
                    }
                  },
                  "id": {
                    "type": "Identifier",
                    "start": 507,
                    "end": 515,
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 10
                      },
                      "end": {
                        "line": 18,
                        "column": 18
                      }
                    },
                    "name": "settings"
                  },
                  "init": {
                    "type": "CallExpression",
                    "start": 518,
                    "end": 536,
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 21
                      },
                      "end": {
                        "line": 18,
                        "column": 39
                      }
                    },
                    "callee": {
                      "type": "Identifier",
                      "start": 518,
                      "end": 529,
                      "loc": {
                        "start": {
                          "line": 18,
                          "column": 21
                        },
                        "end": {
                          "line": 18,
                          "column": 32
                        }
                      },
                      "name": "getSettings"
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "start": 530,
                        "end": 535,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 33
                          },
                          "end": {
                            "line": 18,
                            "column": 38
                          }
                        },
                        "value": "dev",
                        "rawValue": "dev",
                        "raw": "'dev'"
                      }
                    ]
                  }
                }
              ],
              "kind": "const"
            },
            {
              "type": "ExpressionStatement",
              "start": 542,
              "end": 571,
              "loc": {
                "start": {
                  "line": 19,
                  "column": 4
                },
                "end": {
                  "line": 19,
                  "column": 33
                }
              },
              "expression": {
                "type": "CallExpression",
                "start": 542,
                "end": 570,
                "loc": {
                  "start": {
                    "line": 19,
                    "column": 4
                  },
                  "end": {
                    "line": 19,
                    "column": 32
                  }
                },
                "callee": {
                  "type": "MemberExpression",
                  "start": 542,
                  "end": 554,
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 4
                    },
                    "end": {
                      "line": 19,
                      "column": 16
                    }
                  },
                  "object": {
                    "type": "Identifier",
                    "start": 542,
                    "end": 547,
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 4
                      },
                      "end": {
                        "line": 19,
                        "column": 9
                      }
                    },
                    "name": "debug"
                  },
                  "property": {
                    "type": "Identifier",
                    "start": 548,
                    "end": 554,
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 10
                      },
                      "end": {
                        "line": 19,
                        "column": 16
                      }
                    },
                    "name": "enable"
                  },
                  "computed": false
                },
                "arguments": [
                  {
                    "type": "MemberExpression",
                    "start": 555,
                    "end": 569,
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 17
                      },
                      "end": {
                        "line": 19,
                        "column": 31
                      }
                    },
                    "object": {
                      "type": "Identifier",
                      "start": 555,
                      "end": 563,
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 17
                        },
                        "end": {
                          "line": 19,
                          "column": 25
                        }
                      },
                      "name": "settings"
                    },
                    "property": {
                      "type": "Identifier",
                      "start": 564,
                      "end": 569,
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 26
                        },
                        "end": {
                          "line": 19,
                          "column": 31
                        }
                      },
                      "name": "debug"
                    },
                    "computed": false
                  }
                ]
              }
            },
            {
              "type": "ReturnStatement",
              "start": 577,
              "end": 1559,
              "loc": {
                "start": {
                  "line": 21,
                  "column": 4
                },
                "end": {
                  "line": 50,
                  "column": 7
                }
              },
              "argument": {
                "type": "NewExpression",
                "start": 584,
                "end": 1558,
                "loc": {
                  "start": {
                    "line": 21,
                    "column": 11
                  },
                  "end": {
                    "line": 50,
                    "column": 6
                  }
                },
                "callee": {
                  "type": "Identifier",
                  "start": 588,
                  "end": 595,
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 15
                    },
                    "end": {
                      "line": 21,
                      "column": 22
                    }
                  },
                  "name": "Promise"
                },
                "arguments": [
                  {
                    "type": "ArrowFunctionExpression",
                    "start": 596,
                    "end": 1557,
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 23
                      },
                      "end": {
                        "line": 50,
                        "column": 5
                      }
                    },
                    "id": null,
                    "generator": false,
                    "expression": false,
                    "async": false,
                    "params": [
                      {
                        "type": "Identifier",
                        "start": 597,
                        "end": 604,
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 24
                          },
                          "end": {
                            "line": 21,
                            "column": 31
                          }
                        },
                        "name": "resolve"
                      },
                      {
                        "type": "Identifier",
                        "start": 606,
                        "end": 612,
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 33
                          },
                          "end": {
                            "line": 21,
                            "column": 39
                          }
                        },
                        "name": "reject"
                      }
                    ],
                    "body": {
                      "type": "BlockStatement",
                      "start": 617,
                      "end": 1557,
                      "loc": {
                        "start": {
                          "line": 21,
                          "column": 44
                        },
                        "end": {
                          "line": 50,
                          "column": 5
                        }
                      },
                      "body": [
                        {
                          "type": "IfStatement",
                          "start": 627,
                          "end": 755,
                          "loc": {
                            "start": {
                              "line": 22,
                              "column": 8
                            },
                            "end": {
                              "line": 24,
                              "column": 9
                            }
                          },
                          "test": {
                            "type": "UnaryExpression",
                            "start": 631,
                            "end": 640,
                            "loc": {
                              "start": {
                                "line": 22,
                                "column": 12
                              },
                              "end": {
                                "line": 22,
                                "column": 21
                              }
                            },
                            "operator": "!",
                            "prefix": true,
                            "argument": {
                              "type": "Identifier",
                              "start": 632,
                              "end": 640,
                              "loc": {
                                "start": {
                                  "line": 22,
                                  "column": 13
                                },
                                "end": {
                                  "line": 22,
                                  "column": 21
                                }
                              },
                              "name": "compiler"
                            }
                          },
                          "consequent": {
                            "type": "BlockStatement",
                            "start": 642,
                            "end": 755,
                            "loc": {
                              "start": {
                                "line": 22,
                                "column": 23
                              },
                              "end": {
                                "line": 24,
                                "column": 9
                              }
                            },
                            "body": [
                              {
                                "type": "ReturnStatement",
                                "start": 656,
                                "end": 745,
                                "loc": {
                                  "start": {
                                    "line": 23,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 23,
                                    "column": 101
                                  }
                                },
                                "argument": {
                                  "type": "CallExpression",
                                  "start": 663,
                                  "end": 744,
                                  "loc": {
                                    "start": {
                                      "line": 23,
                                      "column": 19
                                    },
                                    "end": {
                                      "line": 23,
                                      "column": 100
                                    }
                                  },
                                  "callee": {
                                    "type": "Identifier",
                                    "start": 663,
                                    "end": 669,
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 19
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 25
                                      }
                                    },
                                    "name": "reject"
                                  },
                                  "arguments": [
                                    {
                                      "type": "NewExpression",
                                      "start": 670,
                                      "end": 743,
                                      "loc": {
                                        "start": {
                                          "line": 23,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 23,
                                          "column": 99
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 674,
                                        "end": 679,
                                        "loc": {
                                          "start": {
                                            "line": 23,
                                            "column": 30
                                          },
                                          "end": {
                                            "line": 23,
                                            "column": 35
                                          }
                                        },
                                        "name": "Error"
                                      },
                                      "arguments": [
                                        {
                                          "type": "Literal",
                                          "start": 680,
                                          "end": 742,
                                          "loc": {
                                            "start": {
                                              "line": 23,
                                              "column": 36
                                            },
                                            "end": {
                                              "line": 23,
                                              "column": 98
                                            }
                                          },
                                          "value": "A compiler instance must be passed in order to watch client!",
                                          "rawValue": "A compiler instance must be passed in order to watch client!",
                                          "raw": "'A compiler instance must be passed in order to watch client!'"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "alternate": null
                        },
                        {
                          "type": "VariableDeclaration",
                          "start": 764,
                          "end": 793,
                          "loc": {
                            "start": {
                              "line": 25,
                              "column": 8
                            },
                            "end": {
                              "line": 25,
                              "column": 37
                            }
                          },
                          "declarations": [
                            {
                              "type": "VariableDeclarator",
                              "start": 770,
                              "end": 792,
                              "loc": {
                                "start": {
                                  "line": 25,
                                  "column": 14
                                },
                                "end": {
                                  "line": 25,
                                  "column": 36
                                }
                              },
                              "id": {
                                "type": "Identifier",
                                "start": 770,
                                "end": 777,
                                "loc": {
                                  "start": {
                                    "line": 25,
                                    "column": 14
                                  },
                                  "end": {
                                    "line": 25,
                                    "column": 21
                                  }
                                },
                                "name": "devPort"
                              },
                              "init": {
                                "type": "CallExpression",
                                "start": 780,
                                "end": 792,
                                "loc": {
                                  "start": {
                                    "line": 25,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 25,
                                    "column": 36
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 780,
                                  "end": 790,
                                  "loc": {
                                    "start": {
                                      "line": 25,
                                      "column": 24
                                    },
                                    "end": {
                                      "line": 25,
                                      "column": 34
                                    }
                                  },
                                  "name": "getDevPort"
                                },
                                "arguments": []
                              }
                            }
                          ],
                          "kind": "const"
                        },
                        {
                          "type": "VariableDeclaration",
                          "start": 803,
                          "end": 824,
                          "loc": {
                            "start": {
                              "line": 27,
                              "column": 8
                            },
                            "end": {
                              "line": 27,
                              "column": 29
                            }
                          },
                          "declarations": [
                            {
                              "type": "VariableDeclarator",
                              "start": 809,
                              "end": 823,
                              "loc": {
                                "start": {
                                  "line": 27,
                                  "column": 14
                                },
                                "end": {
                                  "line": 27,
                                  "column": 28
                                }
                              },
                              "id": {
                                "type": "Identifier",
                                "start": 809,
                                "end": 815,
                                "loc": {
                                  "start": {
                                    "line": 27,
                                    "column": 14
                                  },
                                  "end": {
                                    "line": 27,
                                    "column": 20
                                  }
                                },
                                "name": "server"
                              },
                              "init": {
                                "type": "CallExpression",
                                "start": 818,
                                "end": 823,
                                "loc": {
                                  "start": {
                                    "line": 27,
                                    "column": 23
                                  },
                                  "end": {
                                    "line": 27,
                                    "column": 28
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 818,
                                  "end": 821,
                                  "loc": {
                                    "start": {
                                      "line": 27,
                                      "column": 23
                                    },
                                    "end": {
                                      "line": 27,
                                      "column": 26
                                    }
                                  },
                                  "name": "koa"
                                },
                                "arguments": []
                              }
                            }
                          ],
                          "kind": "const"
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 834,
                          "end": 1161,
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 8
                            },
                            "end": {
                              "line": 36,
                              "column": 10
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 834,
                            "end": 1160,
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 8
                              },
                              "end": {
                                "line": 36,
                                "column": 9
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 834,
                              "end": 844,
                              "loc": {
                                "start": {
                                  "line": 29,
                                  "column": 8
                                },
                                "end": {
                                  "line": 29,
                                  "column": 18
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 834,
                                "end": 840,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 14
                                  }
                                },
                                "name": "server"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 841,
                                "end": 844,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 18
                                  }
                                },
                                "name": "use"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "CallExpression",
                                "start": 858,
                                "end": 1150,
                                "loc": {
                                  "start": {
                                    "line": 30,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 35,
                                    "column": 14
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 858,
                                  "end": 881,
                                  "loc": {
                                    "start": {
                                      "line": 30,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 30,
                                      "column": 35
                                    }
                                  },
                                  "name": "koaWebpackDevMiddleware"
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "start": 882,
                                    "end": 890,
                                    "loc": {
                                      "start": {
                                        "line": 30,
                                        "column": 36
                                      },
                                      "end": {
                                        "line": 30,
                                        "column": 44
                                      }
                                    },
                                    "name": "compiler"
                                  },
                                  {
                                    "type": "ObjectExpression",
                                    "start": 892,
                                    "end": 1149,
                                    "loc": {
                                      "start": {
                                        "line": 30,
                                        "column": 46
                                      },
                                      "end": {
                                        "line": 35,
                                        "column": 13
                                      }
                                    },
                                    "properties": [
                                      {
                                        "type": "Property",
                                        "start": 1012,
                                        "end": 1027,
                                        "loc": {
                                          "start": {
                                            "line": 32,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 32,
                                            "column": 31
                                          }
                                        },
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "key": {
                                          "type": "Identifier",
                                          "start": 1012,
                                          "end": 1022,
                                          "loc": {
                                            "start": {
                                              "line": 32,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 32,
                                              "column": 26
                                            }
                                          },
                                          "name": "publicPath",
                                          "leadingComments": null
                                        },
                                        "value": {
                                          "type": "Literal",
                                          "start": 1024,
                                          "end": 1027,
                                          "loc": {
                                            "start": {
                                              "line": 32,
                                              "column": 28
                                            },
                                            "end": {
                                              "line": 32,
                                              "column": 31
                                            }
                                          },
                                          "value": "/",
                                          "rawValue": "/",
                                          "raw": "'/'"
                                        },
                                        "kind": "init",
                                        "leadingComments": [
                                          {
                                            "type": "CommentLine",
                                            "value": " Let the publicPath be / since we want it to be based on the root of the dev server",
                                            "start": 910,
                                            "end": 995,
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 101
                                              }
                                            },
                                            "range": [
                                              910,
                                              995
                                            ]
                                          }
                                        ]
                                      },
                                      {
                                        "type": "Property",
                                        "start": 1045,
                                        "end": 1082,
                                        "loc": {
                                          "start": {
                                            "line": 33,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 33,
                                            "column": 53
                                          }
                                        },
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "key": {
                                          "type": "Identifier",
                                          "start": 1045,
                                          "end": 1051,
                                          "loc": {
                                            "start": {
                                              "line": 33,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 33,
                                              "column": 22
                                            }
                                          },
                                          "name": "noInfo"
                                        },
                                        "value": {
                                          "type": "MemberExpression",
                                          "start": 1053,
                                          "end": 1082,
                                          "loc": {
                                            "start": {
                                              "line": 33,
                                              "column": 24
                                            },
                                            "end": {
                                              "line": 33,
                                              "column": 53
                                            }
                                          },
                                          "object": {
                                            "type": "MemberExpression",
                                            "start": 1053,
                                            "end": 1075,
                                            "loc": {
                                              "start": {
                                                "line": 33,
                                                "column": 24
                                              },
                                              "end": {
                                                "line": 33,
                                                "column": 46
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1053,
                                              "end": 1061,
                                              "loc": {
                                                "start": {
                                                  "line": 33,
                                                  "column": 24
                                                },
                                                "end": {
                                                  "line": 33,
                                                  "column": 32
                                                }
                                              },
                                              "name": "settings"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1062,
                                              "end": 1075,
                                              "loc": {
                                                "start": {
                                                  "line": 33,
                                                  "column": 33
                                                },
                                                "end": {
                                                  "line": 33,
                                                  "column": 46
                                                }
                                              },
                                              "name": "devMiddleware"
                                            },
                                            "computed": false
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 1076,
                                            "end": 1082,
                                            "loc": {
                                              "start": {
                                                "line": 33,
                                                "column": 47
                                              },
                                              "end": {
                                                "line": 33,
                                                "column": 53
                                              }
                                            },
                                            "name": "noInfo"
                                          },
                                          "computed": false
                                        },
                                        "kind": "init"
                                      },
                                      {
                                        "type": "Property",
                                        "start": 1100,
                                        "end": 1135,
                                        "loc": {
                                          "start": {
                                            "line": 34,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 34,
                                            "column": 51
                                          }
                                        },
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "key": {
                                          "type": "Identifier",
                                          "start": 1100,
                                          "end": 1105,
                                          "loc": {
                                            "start": {
                                              "line": 34,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 34,
                                              "column": 21
                                            }
                                          },
                                          "name": "quiet"
                                        },
                                        "value": {
                                          "type": "MemberExpression",
                                          "start": 1107,
                                          "end": 1135,
                                          "loc": {
                                            "start": {
                                              "line": 34,
                                              "column": 23
                                            },
                                            "end": {
                                              "line": 34,
                                              "column": 51
                                            }
                                          },
                                          "object": {
                                            "type": "MemberExpression",
                                            "start": 1107,
                                            "end": 1129,
                                            "loc": {
                                              "start": {
                                                "line": 34,
                                                "column": 23
                                              },
                                              "end": {
                                                "line": 34,
                                                "column": 45
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1107,
                                              "end": 1115,
                                              "loc": {
                                                "start": {
                                                  "line": 34,
                                                  "column": 23
                                                },
                                                "end": {
                                                  "line": 34,
                                                  "column": 31
                                                }
                                              },
                                              "name": "settings"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1116,
                                              "end": 1129,
                                              "loc": {
                                                "start": {
                                                  "line": 34,
                                                  "column": 32
                                                },
                                                "end": {
                                                  "line": 34,
                                                  "column": 45
                                                }
                                              },
                                              "name": "devMiddleware"
                                            },
                                            "computed": false
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 1130,
                                            "end": 1135,
                                            "loc": {
                                              "start": {
                                                "line": 34,
                                                "column": 46
                                              },
                                              "end": {
                                                "line": 34,
                                                "column": 51
                                              }
                                            },
                                            "name": "quiet"
                                          },
                                          "computed": false
                                        },
                                        "kind": "init"
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 1171,
                          "end": 1418,
                          "loc": {
                            "start": {
                              "line": 38,
                              "column": 8
                            },
                            "end": {
                              "line": 44,
                              "column": 10
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 1171,
                            "end": 1417,
                            "loc": {
                              "start": {
                                "line": 38,
                                "column": 8
                              },
                              "end": {
                                "line": 44,
                                "column": 9
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 1171,
                              "end": 1181,
                              "loc": {
                                "start": {
                                  "line": 38,
                                  "column": 8
                                },
                                "end": {
                                  "line": 38,
                                  "column": 18
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 1171,
                                "end": 1177,
                                "loc": {
                                  "start": {
                                    "line": 38,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 38,
                                    "column": 14
                                  }
                                },
                                "name": "server"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1178,
                                "end": 1181,
                                "loc": {
                                  "start": {
                                    "line": 38,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 38,
                                    "column": 18
                                  }
                                },
                                "name": "use"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "CallExpression",
                                "start": 1195,
                                "end": 1407,
                                "loc": {
                                  "start": {
                                    "line": 39,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 43,
                                    "column": 14
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 1195,
                                  "end": 1218,
                                  "loc": {
                                    "start": {
                                      "line": 39,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 39,
                                      "column": 35
                                    }
                                  },
                                  "name": "koaWebpackHotMiddleware"
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "start": 1219,
                                    "end": 1227,
                                    "loc": {
                                      "start": {
                                        "line": 39,
                                        "column": 36
                                      },
                                      "end": {
                                        "line": 39,
                                        "column": 44
                                      }
                                    },
                                    "name": "compiler"
                                  },
                                  {
                                    "type": "ObjectExpression",
                                    "start": 1229,
                                    "end": 1406,
                                    "loc": {
                                      "start": {
                                        "line": 39,
                                        "column": 46
                                      },
                                      "end": {
                                        "line": 43,
                                        "column": 13
                                      }
                                    },
                                    "properties": [
                                      {
                                        "type": "Property",
                                        "start": 1247,
                                        "end": 1284,
                                        "loc": {
                                          "start": {
                                            "line": 40,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 40,
                                            "column": 53
                                          }
                                        },
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "key": {
                                          "type": "Identifier",
                                          "start": 1247,
                                          "end": 1253,
                                          "loc": {
                                            "start": {
                                              "line": 40,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 40,
                                              "column": 22
                                            }
                                          },
                                          "name": "reload"
                                        },
                                        "value": {
                                          "type": "MemberExpression",
                                          "start": 1255,
                                          "end": 1284,
                                          "loc": {
                                            "start": {
                                              "line": 40,
                                              "column": 24
                                            },
                                            "end": {
                                              "line": 40,
                                              "column": 53
                                            }
                                          },
                                          "object": {
                                            "type": "MemberExpression",
                                            "start": 1255,
                                            "end": 1277,
                                            "loc": {
                                              "start": {
                                                "line": 40,
                                                "column": 24
                                              },
                                              "end": {
                                                "line": 40,
                                                "column": 46
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1255,
                                              "end": 1263,
                                              "loc": {
                                                "start": {
                                                  "line": 40,
                                                  "column": 24
                                                },
                                                "end": {
                                                  "line": 40,
                                                  "column": 32
                                                }
                                              },
                                              "name": "settings"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1264,
                                              "end": 1277,
                                              "loc": {
                                                "start": {
                                                  "line": 40,
                                                  "column": 33
                                                },
                                                "end": {
                                                  "line": 40,
                                                  "column": 46
                                                }
                                              },
                                              "name": "hotMiddleware"
                                            },
                                            "computed": false
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 1278,
                                            "end": 1284,
                                            "loc": {
                                              "start": {
                                                "line": 40,
                                                "column": 47
                                              },
                                              "end": {
                                                "line": 40,
                                                "column": 53
                                              }
                                            },
                                            "name": "reload"
                                          },
                                          "computed": false
                                        },
                                        "kind": "init"
                                      },
                                      {
                                        "type": "Property",
                                        "start": 1302,
                                        "end": 1339,
                                        "loc": {
                                          "start": {
                                            "line": 41,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 41,
                                            "column": 53
                                          }
                                        },
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "key": {
                                          "type": "Identifier",
                                          "start": 1302,
                                          "end": 1308,
                                          "loc": {
                                            "start": {
                                              "line": 41,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 41,
                                              "column": 22
                                            }
                                          },
                                          "name": "noInfo"
                                        },
                                        "value": {
                                          "type": "MemberExpression",
                                          "start": 1310,
                                          "end": 1339,
                                          "loc": {
                                            "start": {
                                              "line": 41,
                                              "column": 24
                                            },
                                            "end": {
                                              "line": 41,
                                              "column": 53
                                            }
                                          },
                                          "object": {
                                            "type": "MemberExpression",
                                            "start": 1310,
                                            "end": 1332,
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 24
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 46
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1310,
                                              "end": 1318,
                                              "loc": {
                                                "start": {
                                                  "line": 41,
                                                  "column": 24
                                                },
                                                "end": {
                                                  "line": 41,
                                                  "column": 32
                                                }
                                              },
                                              "name": "settings"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1319,
                                              "end": 1332,
                                              "loc": {
                                                "start": {
                                                  "line": 41,
                                                  "column": 33
                                                },
                                                "end": {
                                                  "line": 41,
                                                  "column": 46
                                                }
                                              },
                                              "name": "hotMiddleware"
                                            },
                                            "computed": false
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 1333,
                                            "end": 1339,
                                            "loc": {
                                              "start": {
                                                "line": 41,
                                                "column": 47
                                              },
                                              "end": {
                                                "line": 41,
                                                "column": 53
                                              }
                                            },
                                            "name": "noInfo"
                                          },
                                          "computed": false
                                        },
                                        "kind": "init"
                                      },
                                      {
                                        "type": "Property",
                                        "start": 1357,
                                        "end": 1392,
                                        "loc": {
                                          "start": {
                                            "line": 42,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 42,
                                            "column": 51
                                          }
                                        },
                                        "method": false,
                                        "shorthand": false,
                                        "computed": false,
                                        "key": {
                                          "type": "Identifier",
                                          "start": 1357,
                                          "end": 1362,
                                          "loc": {
                                            "start": {
                                              "line": 42,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 42,
                                              "column": 21
                                            }
                                          },
                                          "name": "quiet"
                                        },
                                        "value": {
                                          "type": "MemberExpression",
                                          "start": 1364,
                                          "end": 1392,
                                          "loc": {
                                            "start": {
                                              "line": 42,
                                              "column": 23
                                            },
                                            "end": {
                                              "line": 42,
                                              "column": 51
                                            }
                                          },
                                          "object": {
                                            "type": "MemberExpression",
                                            "start": 1364,
                                            "end": 1386,
                                            "loc": {
                                              "start": {
                                                "line": 42,
                                                "column": 23
                                              },
                                              "end": {
                                                "line": 42,
                                                "column": 45
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1364,
                                              "end": 1372,
                                              "loc": {
                                                "start": {
                                                  "line": 42,
                                                  "column": 23
                                                },
                                                "end": {
                                                  "line": 42,
                                                  "column": 31
                                                }
                                              },
                                              "name": "settings"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1373,
                                              "end": 1386,
                                              "loc": {
                                                "start": {
                                                  "line": 42,
                                                  "column": 32
                                                },
                                                "end": {
                                                  "line": 42,
                                                  "column": 45
                                                }
                                              },
                                              "name": "hotMiddleware"
                                            },
                                            "computed": false
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 1387,
                                            "end": 1392,
                                            "loc": {
                                              "start": {
                                                "line": 42,
                                                "column": 46
                                              },
                                              "end": {
                                                "line": 42,
                                                "column": 51
                                              }
                                            },
                                            "name": "quiet"
                                          },
                                          "computed": false
                                        },
                                        "kind": "init"
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 1428,
                          "end": 1451,
                          "loc": {
                            "start": {
                              "line": 46,
                              "column": 8
                            },
                            "end": {
                              "line": 46,
                              "column": 31
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 1428,
                            "end": 1450,
                            "loc": {
                              "start": {
                                "line": 46,
                                "column": 8
                              },
                              "end": {
                                "line": 46,
                                "column": 30
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 1428,
                              "end": 1441,
                              "loc": {
                                "start": {
                                  "line": 46,
                                  "column": 8
                                },
                                "end": {
                                  "line": 46,
                                  "column": 21
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 1428,
                                "end": 1434,
                                "loc": {
                                  "start": {
                                    "line": 46,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 46,
                                    "column": 14
                                  }
                                },
                                "name": "server"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1435,
                                "end": 1441,
                                "loc": {
                                  "start": {
                                    "line": 46,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 46,
                                    "column": 21
                                  }
                                },
                                "name": "listen"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 1442,
                                "end": 1449,
                                "loc": {
                                  "start": {
                                    "line": 46,
                                    "column": 22
                                  },
                                  "end": {
                                    "line": 46,
                                    "column": 29
                                  }
                                },
                                "name": "devPort"
                              }
                            ]
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 1460,
                          "end": 1525,
                          "loc": {
                            "start": {
                              "line": 47,
                              "column": 8
                            },
                            "end": {
                              "line": 47,
                              "column": 73
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 1460,
                            "end": 1524,
                            "loc": {
                              "start": {
                                "line": 47,
                                "column": 8
                              },
                              "end": {
                                "line": 47,
                                "column": 72
                              }
                            },
                            "callee": {
                              "type": "CallExpression",
                              "start": 1460,
                              "end": 1483,
                              "loc": {
                                "start": {
                                  "line": 47,
                                  "column": 8
                                },
                                "end": {
                                  "line": 47,
                                  "column": 31
                                }
                              },
                              "callee": {
                                "type": "Identifier",
                                "start": 1460,
                                "end": 1465,
                                "loc": {
                                  "start": {
                                    "line": 47,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 47,
                                    "column": 13
                                  }
                                },
                                "name": "debug"
                              },
                              "arguments": [
                                {
                                  "type": "Literal",
                                  "start": 1466,
                                  "end": 1482,
                                  "loc": {
                                    "start": {
                                      "line": 47,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 47,
                                      "column": 30
                                    }
                                  },
                                  "value": "roc:dev:client",
                                  "rawValue": "roc:dev:client",
                                  "raw": "'roc:dev:client'"
                                }
                              ]
                            },
                            "arguments": [
                              {
                                "type": "TemplateLiteral",
                                "start": 1484,
                                "end": 1523,
                                "loc": {
                                  "start": {
                                    "line": 47,
                                    "column": 32
                                  },
                                  "end": {
                                    "line": 47,
                                    "column": 71
                                  }
                                },
                                "expressions": [
                                  {
                                    "type": "Identifier",
                                    "start": 1514,
                                    "end": 1521,
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 62
                                      },
                                      "end": {
                                        "line": 47,
                                        "column": 69
                                      }
                                    },
                                    "name": "devPort"
                                  }
                                ],
                                "quasis": [
                                  {
                                    "type": "TemplateElement",
                                    "start": 1485,
                                    "end": 1512,
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 33
                                      },
                                      "end": {
                                        "line": 47,
                                        "column": 60
                                      }
                                    },
                                    "value": {
                                      "raw": "Dev server started on port ",
                                      "cooked": "Dev server started on port "
                                    },
                                    "tail": false
                                  },
                                  {
                                    "type": "TemplateElement",
                                    "start": 1522,
                                    "end": 1522,
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 70
                                      },
                                      "end": {
                                        "line": 47,
                                        "column": 70
                                      }
                                    },
                                    "value": {
                                      "raw": "",
                                      "cooked": ""
                                    },
                                    "tail": true
                                  }
                                ]
                              }
                            ]
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 1535,
                          "end": 1551,
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 8
                            },
                            "end": {
                              "line": 49,
                              "column": 24
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 1535,
                            "end": 1550,
                            "loc": {
                              "start": {
                                "line": 49,
                                "column": 8
                              },
                              "end": {
                                "line": 49,
                                "column": 23
                              }
                            },
                            "callee": {
                              "type": "Identifier",
                              "start": 1535,
                              "end": 1542,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 8
                                },
                                "end": {
                                  "line": 49,
                                  "column": 15
                                }
                              },
                              "name": "resolve"
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 1543,
                                "end": 1549,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 16
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 22
                                  }
                                },
                                "name": "server"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Client watcher.\n *\n * @param {object} compiler - Webpack compiler instance.\n * @returns {Promise} Resolves after it has completed.\n ",
            "start": 307,
            "end": 448,
            "loc": {
              "start": {
                "line": 11,
                "column": 0
              },
              "end": {
                "line": 16,
                "column": 3
              }
            },
            "range": [
              307,
              448
            ]
          }
        ],
        "trailingComments": []
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Client watcher.\n *\n * @param {object} compiler - Webpack compiler instance.\n * @returns {Promise} Resolves after it has completed.\n ",
          "start": 307,
          "end": 448,
          "loc": {
            "start": {
              "line": 11,
              "column": 0
            },
            "end": {
              "line": 16,
              "column": 3
            }
          },
          "range": [
            307,
            448
          ]
        }
      ]
    }
  ]
}