diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index ec7b103069..ffc60d4b14 100644
--- a/django/utils/autoreload.py
+++ b/django/utils/autoreload.py
@@ -57,6 +57,8 @@ def code_changed():
     for filename in filter(lambda v: v, map(lambda m: getattr(m, "__file__", None), sys.modules.values())):
         if filename.endswith(".pyc") or filename.endswith(".pyo"):
             filename = filename[:-1]
+        if filename.endswith("$py.class"):
+            filename = filename[:-9] + ".py"
         if not os.path.exists(filename):
             continue # File might be in an egg, so it can't be reloaded.
         stat = os.stat(filename)