How to modify a file of the .ts type? #8459
-
I wanted to modify the data in the.ts type file and print logs, but the web interface did not show any effect. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 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 rebuild the Docker image or regenerate the frontend project in the container for changes to take effect (source). If you still don't see updates, try deleting Let me know if you're running locally or in Docker, and if you've restarted the relevant services after making your changes. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
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 theweb
directory. With this running, edits to .ts files (like adding logs or changing data) should show up immediately in your browser—logs viaconsole.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…