@opensumi/ide-file-service 3.8.3-next-1747044228.0 → 3.8.3-next-1747045188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -293,7 +293,7 @@ class RecursiveFileSystemWatcher extends utils_1.Disposable {
293
293
  * 社区相关 issue: https://github.com/parcel-bundler/watcher/issues/49
294
294
  */
295
295
  isEnableNSFW() {
296
- return this.backend === ide_core_common_1.RecursiveWatcherBackend.NSFW || utils_1.isLinux;
296
+ return this.backend === ide_core_common_1.RecursiveWatcherBackend.NSFW && utils_1.isLinux;
297
297
  }
298
298
  async handleNSFWEvents(events, realPath) {
299
299
  if (events.length > 5000) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-file-service",
3
- "version": "3.8.3-next-1747044228.0",
3
+ "version": "3.8.3-next-1747045188.0",
4
4
  "files": [
5
5
  "lib",
6
6
  "src"
@@ -18,11 +18,11 @@
18
18
  "url": "git@github.com:opensumi/core.git"
19
19
  },
20
20
  "dependencies": {
21
- "@opensumi/ide-connection": "3.8.3-next-1747044228.0",
22
- "@opensumi/ide-core-common": "3.8.3-next-1747044228.0",
23
- "@opensumi/ide-core-node": "3.8.3-next-1747044228.0",
24
- "@opensumi/ide-logs": "3.8.3-next-1747044228.0",
25
- "@opensumi/ide-utils": "3.8.3-next-1747044228.0",
21
+ "@opensumi/ide-connection": "3.8.3-next-1747045188.0",
22
+ "@opensumi/ide-core-common": "3.8.3-next-1747045188.0",
23
+ "@opensumi/ide-core-node": "3.8.3-next-1747045188.0",
24
+ "@opensumi/ide-logs": "3.8.3-next-1747045188.0",
25
+ "@opensumi/ide-utils": "3.8.3-next-1747045188.0",
26
26
  "@parcel/watcher": "2.1.0",
27
27
  "file-type": "16.5.4",
28
28
  "nsfw": "2.2.0",
@@ -31,8 +31,8 @@
31
31
  "write-file-atomic": "^5.0.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@opensumi/ide-core-browser": "3.8.3-next-1747044228.0",
35
- "@opensumi/ide-dev-tool": "3.8.3-next-1747044228.0"
34
+ "@opensumi/ide-core-browser": "3.8.3-next-1747045188.0",
35
+ "@opensumi/ide-dev-tool": "3.8.3-next-1747045188.0"
36
36
  },
37
- "gitHead": "65a76d8a1af06f01b0fdb9eda99a1143b246a49d"
37
+ "gitHead": "15da0e0caafee8a17f9ae1964be1ed5bc29ff124"
38
38
  }
@@ -381,7 +381,7 @@ export class RecursiveFileSystemWatcher extends Disposable implements IWatcher {
381
381
  * 社区相关 issue: https://github.com/parcel-bundler/watcher/issues/49
382
382
  */
383
383
  private isEnableNSFW(): boolean {
384
- return this.backend === RecursiveWatcherBackend.NSFW || isLinux;
384
+ return this.backend === RecursiveWatcherBackend.NSFW && isLinux;
385
385
  }
386
386
 
387
387
  private async handleNSFWEvents(events: INsfw.ChangeEvent[], realPath: string): Promise<void> {