sapling/addons
Evan Krause 2d28ee9e42 Fix isl not detecting workspace folder changes without reloading
Summary: It seems we were not properly subscribing to changes in the vscode workspace folders. We used `onConnectOrReconnect` inside the lazyAtom, which means it was not triggered on first connect. Since reconnects don't happen in most cases (maybe never for vscode connection...?), it would never actually subscribe. Instead, we could either move this to a not lazy atom, or make it just call the subscribe directly. I opt to make the atom not lazy, since we use this in the cwdSelector immediately on startup, there's no real use having it be lazy. Maybe that made sense when the cwd dropdown didn't use this state.

Reviewed By: quark-zju

Differential Revision: D57136047

fbshipit-source-id: 8298b8b94b06e109f78240d20cb42014f3d18e00
2024-05-09 09:52:23 -07:00
..
.tours Add code tours 2023-02-06 10:02:35 -08:00
.vscode vscode: update test launch script 2024-02-08 19:07:59 -08:00
eslint-rules eslint: update eslint rules to match current practice 2024-02-12 15:29:50 -08:00
isl Fix isl not detecting workspace folder changes without reloading 2024-05-09 09:52:23 -07:00
isl-server Use realpath for displayed cwd, compute on server 2024-05-08 11:56:41 -07:00
shared Add file selection checkboxes to levels of file tree 2024-05-08 16:13:10 -07:00
textmate codemod: use node: prefix for node builtin modules 2024-04-23 12:01:57 -07:00
vscode Use repo-relative paths for cwd selector 2024-05-08 11:56:41 -07:00
.committemplate committemplate: set reviewers to #isl 2023-10-17 19:33:35 -07:00
.eslintrc.js Lint against importing act from react-dom/test-utils 2024-04-09 13:12:44 -07:00
.gitignore build-tar: script to build ISL to a tarball 2023-09-23 10:47:58 -07:00
.prettierignore Remove tauri 2024-02-15 14:55:13 -08:00
.prettierrc Re-sync with internal repository 2022-11-15 00:48:09 -08:00
build-tar.py apply Black 2024 style in fbcode (9/16) 2024-03-02 17:31:19 -08:00
LICENSE Re-sync with internal repository 2022-11-15 00:48:09 -08:00
package.json Update addons to typescript 5.4.5 2024-04-16 11:46:48 -07:00
removeInternalFiles.sh Script to remove internal files 2023-02-06 15:13:28 -08:00
TARGETS eden 2023-10-23 09:12:58 -07:00
verify-addons-folder.py move reviewstack to a different npm workspace 2024-02-12 15:28:10 -08:00
yarn.lock Update jest to 29 2024-04-16 15:18:34 -07:00