You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/plugin.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,12 @@
16
16
"title": "Simple staging flag",
17
17
"description": "If true, use a simplified concept of staging. Only files with changes are shown (instead of showing staged/changed/untracked), and all files with changes will be automatically staged",
18
18
"default": false
19
+
},
20
+
"refreshInterval": {
21
+
"type": "integer",
22
+
"title": "Refresh interval",
23
+
"description": "Number of milliseconds between polling the file system for changes.",
@@ -8,14 +13,16 @@ import { ISignal, Signal } from '@phosphor/signaling';
8
13
import{httpGitRequest}from'./git';
9
14
import{IGitExtension,Git}from'./tokens';
10
15
11
-
/**
12
-
* The default duration of the auto-refresh in ms
13
-
*/
14
-
constDEFAULT_REFRESH_INTERVAL=10000;
16
+
// Default refresh interval (in milliseconds) for polling the current Git status (NOTE: this value should be the same value as in the plugin settings schema):
0 commit comments