We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2698531 commit a65da4eCopy full SHA for a65da4e
bpython/curtsiesfrontend/repl.py
@@ -737,13 +737,15 @@ def clear_modules_and_reevaluate(self):
737
738
def toggle_file_watch(self):
739
if self.watcher:
740
- msg = "Auto-reloading active, watching for file changes..."
741
if self.watching_files:
+ msg = "Auto-reloading deactivated"
742
+ self.status_bar.message(msg)
743
self.watcher.deactivate()
744
self.watching_files = False
745
else:
- self.watching_files = True
746
+ msg = "Auto-reloading active, watching for file changes..."
747
self.status_bar.message(msg)
748
+ self.watching_files = True
749
self.watcher.activate()
750
751
self.status_bar.message('Autoreloading not available because watchdog not installed')
0 commit comments