|
@@ -1,12 +1,7 @@
|
|
|
from pathlib import Path
|
|
|
-import sys
|
|
|
-import time
|
|
|
-from watchdog.observers import Observer
|
|
|
-from watchdog.events import FileSystemEventHandler
|
|
|
-from watchdog.events import LoggingEventHandler
|
|
|
import asyncio.subprocess as subprocess
|
|
|
import asyncio
|
|
|
-from watchfiles import Change, awatch, watch
|
|
|
+from watchfiles import awatch
|
|
|
from termcolor import colored
|
|
|
from datetime import datetime
|
|
|
import orjson
|
|
@@ -100,7 +95,7 @@ async def watch_parser():
|
|
|
|
|
|
|
|
|
async def watch_checker():
|
|
|
- async for changes in awatch("./src/checker.cpp", "./src/checker.h"):
|
|
|
+ async for changes in awatch("./src/checker.cpp", "./src/checker.h", "./src/utils.h", "./src/utils.cpp"):
|
|
|
if await rebuild():
|
|
|
await on_checker_modified()
|
|
|
|