Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Hot reloading forces a complete reload of the whole add-in

Aperta
#204 9 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript, vscode

Direzione di ricerca

Riproduci il problema in VS Code usando le versioni indicate di Windows, Node e Office, quindi esamina il messaggio nella console di debug dopo aver modificato un file sorgente. Traccia l’entry point del tooling hot-reload responsabile dell’applicazione dell’aggiornamento. Il lavoro è completato quando una modifica al codice sorgente dell’add-in viene applicata senza un reload completo e l’app rimane nello stato corrente.

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

Descrizione

enhancement needs triage

Prerequisites

Please answer the following questions before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.

  • [ x] I am running the latest version of Node and the tools
  • [ x] I checked the documentation and found no answer
  • [ x] I checked to make sure that this issue has not already been filed

Expected behavior

When a code source file is changed while debugging in VSC, hot reloading should make the change but leave the app in the same place where it was, so the developer doesn't have to go through the all the steps in the UI to get back to where they were.

Current behavior

The change in the source file cause the entire app to reload and returns the app to its default starting state. There is also an error in the VSC debugging console: "Cannot apply update. Need to do a full reload."
image

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Sideload an add-in in VSC
  2. Run the add-in.
  3. Make a change in a code source file.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Operating System: Windows 10
  • Node version: 16.13.2
  • Office version: 2302 16127.20000
  • Tool version: ?

Failure Logs

Please include any relevant log snippets, screenshots or code samples here.

Lingua principale
TypeScript
Stelle
98
Fork
52
Merge medio
9h 27m
PR unite (30g)
3

Preparare l'ambiente

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 OfficeDev/Office-Addin-TaskPane

Tutte le issue di OfficeDev/Office-Addin-TaskPane

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.