Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python script does not reflect real-time changes #382

Open
Rucha-Ambaliya opened this issue Jan 14, 2025 · 5 comments
Open

Python script does not reflect real-time changes #382

Rucha-Ambaliya opened this issue Jan 14, 2025 · 5 comments
Assignees

Comments

@Rucha-Ambaliya
Copy link
Contributor

Current Behaviour

Currently, the Python script (main.py) needs to be restarted manually to reflect changes in the code. This disrupts the development workflow and slows down iteration.

Proposed Solution

Set up a mechanism to enable real-time reloading of the script when code changes are detected. Possible approaches include:

  • Using a file-watching library like watchdog to monitor and reload the script.
  • Configuring an auto-reload feature in the development environment (e.g., VS Code debug configuration with autoReload).
  • Exploring third-party tools or hot-reloading frameworks.

Additional Note

If a similar mechanism is already implemented, this issue can be closed after confirming the setup and updating the relevant documentation.

@github-actions github-actions bot added the Review Queued Waiting for the Dataverse's Maintainer to review this issue. label Jan 14, 2025
@multiverseweb
Copy link
Owner

@Rucha-Ambaliya what kind of changes in the code are you referring to? Are they related to the dark and light theme or something else?

@multiverseweb multiverseweb removed the Review Queued Waiting for the Dataverse's Maintainer to review this issue. label Jan 16, 2025
@Rucha-Ambaliya
Copy link
Contributor Author

I was trying to work on issue #377 but I noticed that to see the changes in the UI, I had to rerun the script repeatedly. I think it would be a great improvement to implement real-time responses, allowing changes to reflect instantly.

@multiverseweb
Copy link
Owner

Okay @Rucha-Ambaliya, understood. You can continue with the solution.

@Rucha-Ambaliya
Copy link
Contributor Author

Thank you for assigning this to me. Once I complete #374 (hopefully by tomorrow at the max), I'll start working on this one.

@Hacker-smkg
Copy link

assign this to me @multiverseweb
#SWOC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants