We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d3e4a4 commit 2bc666aCopy full SHA for 2bc666a
apps/desktop/src/routes/app.tsx
@@ -114,7 +114,7 @@ function RestartTTT() {
114
const watcher = async () => {
115
const llmPath = await localLlmCommands.modelsDir();
116
117
- return watch([llmPath], (_event) => {
+ return watch(llmPath, (_event) => {
118
localLlmCommands.restartServer();
119
}, { delayMs: 1000 });
120
};
@@ -138,7 +138,7 @@ function RestartSTT() {
138
139
const sttPath = await localSttCommands.modelsDir();
140
141
- return watch([sttPath], (_event) => {
+ return watch(sttPath, (_event) => {
142
localSttCommands.restartServer();
143
144
0 commit comments