summaryrefslogtreecommitdiff
path: root/src/watch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch.rs')
-rw-r--r--src/watch.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/watch.rs b/src/watch.rs
index d20e552..5ebe526 100644
--- a/src/watch.rs
+++ b/src/watch.rs
@@ -11,10 +11,6 @@ use std::{
time::Duration,
};
-mod notify_event;
-mod state;
-mod terminal_event;
-
use crate::app_state::{AppState, ExercisesProgress};
use self::{
@@ -23,6 +19,10 @@ use self::{
terminal_event::{terminal_event_handler, InputEvent},
};
+mod notify_event;
+mod state;
+mod terminal_event;
+
enum WatchEvent {
Input(InputEvent),
FileChange { exercise_ind: usize },