hmr 0.3.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hmr
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Hot Module Reload for Python
5
5
  Project-URL: repository, https://github.com/promplate/pyth-on-line/tree/reactivity
6
6
  Requires-Python: >=3.12
@@ -6,7 +6,7 @@ description = "Hot Module Reload for Python"
6
6
  dependencies = [
7
7
  "watchfiles>=0.21,<2 ; sys_platform != 'emscripten'",
8
8
  ]
9
- version = "0.3.0"
9
+ version = "0.3.1"
10
10
 
11
11
  [project.scripts]
12
12
  hmr = "reactivity.hmr:cli"
@@ -219,7 +219,7 @@ class BaseReloader:
219
219
 
220
220
  with batch():
221
221
  for type, file in events:
222
- if type is Change.modified:
222
+ if type is not Change.deleted:
223
223
  path = Path(file).resolve()
224
224
  if path.samefile(self.entry):
225
225
  self.run_entry_file.invalidate()
@@ -292,4 +292,4 @@ def cli():
292
292
  SyncReloader(entry).keep_watching_until_interrupt()
293
293
 
294
294
 
295
- __version__ = "0.3.0"
295
+ __version__ = "0.3.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes