Skip to content

Commit 2bc666a

Browse files
committed
undo change
1 parent 5d3e4a4 commit 2bc666a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/desktop/src/routes/app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function RestartTTT() {
114114
const watcher = async () => {
115115
const llmPath = await localLlmCommands.modelsDir();
116116

117-
return watch([llmPath], (_event) => {
117+
return watch(llmPath, (_event) => {
118118
localLlmCommands.restartServer();
119119
}, { delayMs: 1000 });
120120
};
@@ -138,7 +138,7 @@ function RestartSTT() {
138138
const watcher = async () => {
139139
const sttPath = await localSttCommands.modelsDir();
140140

141-
return watch([sttPath], (_event) => {
141+
return watch(sttPath, (_event) => {
142142
localSttCommands.restartServer();
143143
}, { delayMs: 1000 });
144144
};

0 commit comments

Comments
 (0)