Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Transformerlab App
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
TransformerLab
Transformerlab App
Commits
01f70f67
Commit
01f70f67
authored
3 months ago
by
ali asaria
Browse files
Options
Downloads
Patches
Plain Diff
add comment
parent
f4691cdb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/main.ts
+3
-1
3 additions, 1 deletion
src/main/main.ts
with
3 additions
and
1 deletion
src/main/main.ts
+
3
−
1
View file @
01f70f67
...
...
@@ -144,7 +144,9 @@ const startListeningToServerLog = async () => {
let
options
=
{};
// 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
())
{
options
=
{
usePolling
:
true
};
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment