Skip to content
Discussion options

You must be logged in to vote

To modify a .ts (TypeScript) file and see your changes in the RAGFlow web interface, make sure you're running the frontend dev server with npm run dev inside the web directory. With this running, edits to .ts files (like adding logs or changing data) should show up immediately in your browser—logs via console.log will appear in the browser console. No manual compilation is needed if the dev server is active, since UmiJS handles hot-reloading automatically.

If your changes aren't showing up, common causes are: the dev server isn't running, you're running in Docker and haven't rebuilt the image, browser caching, or a runtime error is blocking the reload. For Docker setups, you need to rebu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rrrrrrtrtt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant