Skip to content

Commit 770e0b5

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
Log sketchbook watch.
Signed-off-by: Akos Kitta <[email protected]>
1 parent 79bf0a1 commit 770e0b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: arduino-ide-extension/src/node/sketches-service-impl.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,10 @@ export class SketchesServiceImpl implements SketchesService {
197197
});
198198

199199
// TODO: no `await` for some reason this blocks the workspace root initialization on Windows inside a bundled electron app.
200+
console.log(`Starting to watch sketchbook at '${sketchbookPath}'.`);
200201
watcher.start()
201-
.then(() => console.log(`Initialized NSFW in sketchbook: '${sketchbookPath}. Watching for sketch changes.`))
202-
.catch(err => console.error(`Failed to initialize NSFW in sketchbook '${sketchbookPath}'. Cannot track sketch changes.`, err));
202+
.then(() => console.log(`Initialized watcher in sketchbook: '${sketchbookPath}. Watching for sketch changes.`))
203+
.catch(err => console.error(`Failed to initialize watcher in sketchbook '${sketchbookPath}'. Cannot track sketch changes.`, err));
203204

204205
deferred.resolve(sketches);
205206
this.sketchbooks.set(sketchbookPath, sketches);

0 commit comments

Comments
 (0)