buddy-workbench 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -86,7 +86,7 @@ export async function captureClipboard() {
|
|
|
86
86
|
} catch {}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export function startClipboardCapture() { captureClipboard(); const timer = setInterval(captureClipboard,
|
|
89
|
+
export function startClipboardCapture() { captureClipboard(); const timer = setInterval(captureClipboard, 2000); timer.unref(); }
|
|
90
90
|
|
|
91
91
|
export function saveClipboardImage(buffer) {
|
|
92
92
|
const date = today();
|
|
@@ -61,7 +61,7 @@ async function observedListeners() {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
async function observeLauncherPorts() {
|
|
64
|
-
if (!launchHistory.length) return;
|
|
64
|
+
if (!launchHistory.length || running.size === 0) return;
|
|
65
65
|
const { listeners, groupByPid } = await observedListeners();
|
|
66
66
|
const now = new Date().toISOString();
|
|
67
67
|
let changed = false;
|