aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/watch.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/watch.js')
-rw-r--r--scripts/watch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/watch.js b/scripts/watch.js
index 82a8feb..b635fac 100644
--- a/scripts/watch.js
+++ b/scripts/watch.js
@@ -5,7 +5,7 @@ import electronPath from 'electron';
5import { join } from 'path'; 5import { join } from 'path';
6import { createServer } from 'vite'; 6import { createServer } from 'vite';
7 7
8import { fileURLToDirname } from '../config/build-common.js'; 8import { fileURLToDirname } from '../config/utils.js';
9 9
10/** @type {string} */ 10/** @type {string} */
11const thisDir = fileURLToDirname(import.meta.url); 11const thisDir = fileURLToDirname(import.meta.url);
@@ -127,7 +127,7 @@ function setupMainPackageWatcher(viteDevServer) {
127 const path = '/'; 127 const path = '/';
128 process.env.VITE_DEV_SERVER_URL = `${protocol}//${host}:${port}${path}`; 128 process.env.VITE_DEV_SERVER_URL = `${protocol}//${host}:${port}${path}`;
129 129
130 /** @type {import('child_process').ChildProcessWithoutNullStreams | null} */ 130 /** @type {import('child_process').ChildProcessByStdio<null, null, import('stream').Readable> | null} */
131 let spawnProcess = null; 131 let spawnProcess = null;
132 132
133 return setupEsbuildWatcher( 133 return setupEsbuildWatcher(