jurigged
jurigged copied to clipboard
Hot reloading for Python
**environment** image:`docker.io/library/python:3.9.6` docker: `Docker version 24.0.7, build afdd53b` (native Linux, Kubuntu) jurigged: 0.5.7 script.py: ``` import time class A: CONST = 12 def m(self, val=CONST): print(val) a = A() while...
First off, thanks for this great library. I've used it to implement a pytest [hot reloading daemon](https://github.com/JamesHutchison/pytest-hot-reloading). I had some issues that I worked around using monkey patching, and I...
I'm trying to implement a small application that's going to hot reload its code from a remote repository. What it does is simple: every 5 minutes, it fetches the remote...
When running the following self-contained example I'm hit with an `AttributeError` ``` Traceback (most recent call last): File "/home/user/env/lib/python3.11/site-packages/jurigged/codetools.py", line 493, in _process_child_correspondence orig.apply_correspondence( File "/home/user/env/lib/python3.11/site-packages/jurigged/codetools.py", line 704, in apply_correspondence...
Does this work with Tkinter applications or will those break?
Hello, `jurigged` works very well for me in how I use it with the `cmd2` module. However, I have noted that it doesn't seem to be picking up changes to...
Hi! I'm interested in a use case where I only want to reload a particular library that I am developing, but I could change any function or file within that...
This is related to how Geany handles files by default: It creates a temporary file copy, writes the modifications to it and them copies the modifications to the current file....
This PR includes the following changes: - Adds support for passing in multiple glob filters to the --watch arg - Adds support for future compiler flags (also included by my...
Hi i have script.py ``` import os import sys import numpy as np import numpy.typing as npt import runpy import jurigged os.environ['PYTHONIOENCODING'] = 'utf-8' watch_directory = '/ComfyUI/custom_nodes/ComfyUI_MaraScott_Nodes/__init__.py' jurigged.watch(watch_directory) sys.argv =...