Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ensure updated config is synced on use of restart command#438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
zth merged 2 commits intomasterfromfix-settings-sync-on-restart
May 30, 2022

Conversation

@zth
Copy link
Member

@zthzth commentedMay 30, 2022

Initial read configuration was never refreshed as the restart command runs, which means you'd always get potentially stale initial config after a restart.

Also clean up a few init things that I suspect has never been cleaned up after the initial adaption of the LS client example.

@zthzth requested a review fromcristianocMay 30, 2022 11:44
Copy link
Collaborator

@cristianoccristianoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks great.

The only thing that comes to mind, is how to make it completely explicit that the code that followscreateLanguageClient is the global state. (which is preserved on restart).

@cristianoc
Copy link
Collaborator

Looks great.

The only thing that comes to mind, is how to make it completely explicit that the code that followscreateLanguageClient is the global state. (which is preserved on restart).

In fact, there's one other small bit of global state:

let client: LanguageClient;

which is followed by a bunch of commented out code. Then thecreateLanguageClient function. Then the rest of the global state.

@zthzth merged commitf6208a8 intomasterMay 30, 2022
@zthzth deleted the fix-settings-sync-on-restart branchMay 30, 2022 18:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cristianoccristianoccristianoc approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@zth@cristianoc

[8]ページ先頭

©2009-2025 Movatter.jp