diff --git a/archivist.js b/archivist.js index 654a9e6..0759747 100644 --- a/archivist.js +++ b/archivist.js @@ -114,11 +114,11 @@ async function collect({chrome_port:port, mode} = {}) { throw new TypeError(`Must specify mode`); } - on("Target.targetInfoChanged", indexURL); - on("Target.targetInfoChanged", updateTargetInfo); - on("Target.targetInfoChanged", reloadIfNotLive); - on("Target.targetInfoChanged", attachToTarget); on("Target.targetInfoChanged", displayTargetInfo); + on("Target.targetInfoChanged", attachToTarget); + on("Target.targetInfoChanged", reloadIfNotLive); + on("Target.targetInfoChanged", updateTargetInfo); + on("Target.targetInfoChanged", indexURL); on("Target.attachedToTarget", installForSession); on("Fetch.requestPaused", cacheRequest); on("Runtime.consoleAPICalled", handleMessage);