hot-reload-extension-vite
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -9,2 +9,5 @@ "use strict"; | ||
var socket = new WebSocket(`ws://localhost:${HOT_RELOAD_EXTENSION_VITE_PORT}`); | ||
var keepAlive = () => setInterval(chrome.runtime.getPlatformInfo, 2e4); | ||
chrome.runtime.onStartup.addListener(keepAlive); | ||
keepAlive(); | ||
chrome.runtime.onInstalled.addListener((details) => { | ||
@@ -11,0 +14,0 @@ if (details.reason === chrome.runtime.OnInstalledReason.UPDATE) { |
{ | ||
"name": "hot-reload-extension-vite", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "Simple vite plugin to reload the chrome extension.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
Sorry, the diff of this file is not supported yet
41269
1191