Skip to content
Snippets Groups Projects
Commit 01f70f67 authored by ali asaria's avatar ali asaria
Browse files

add comment

parent f4691cdb
Branches
Tags
No related merge requests found
...@@ -144,7 +144,9 @@ const startListeningToServerLog = async () => { ...@@ -144,7 +144,9 @@ const startListeningToServerLog = async () => {
let options = {}; let options = {};
// if this is windows, we start FileWatcher with option.usePolling = true, otherwise we use the default // if this is windows, we start FileWatcher with option.usePolling = true, otherwise we use the default
// and don't provide options: // and don't provide options.
// This is because in Windows, the engine runs in WSL2 but the app that watches the logs is running in Windows
// and they can't communicate using iNotify directly. (So we poll only in this situation)
if (isPlatformWindows()) { if (isPlatformWindows()) {
options = { usePolling: true }; options = { usePolling: true };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment