Sync FS events with collab-server state

Aperta
#151 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

Start with the TODO in collab-server/src/server.ts around line 70 and inspect how collab-server currently handles filesystem writes. Reproduce or trace file and directory writes, renames, and deletes from the embedded terminal or workspace.fs, then evaluate whether a watcher such as nsfw fits. Done means these operations keep collab-server state synchronized.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Besides operating through the VSCode UI (#150), users can also rename, delete, and write files/directories via the embedded terminal, and extensions can make workspace.fs operations. These actions do not emit workspace.onWill*Files events so must be handled by directly watching the filesystem in collab-server.

This TODO already mentions file writes, but we should handle the other operations also.

It may be beneficial to use a watcher with native rename detection, such as nsfw.

Lingua principale
TypeScript
Stelle
12
Fork
1
Merge medio
1g 8h
PR unite (30g)
66

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di leanprover/lean-workbench

Tutte le issue di leanprover/lean-workbench

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.