Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion localstack-core/localstack/dev/run/watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
import time
from pathlib import Path

from rich.console import Console
from watchdog.events import FileSystemEvent, FileSystemEventHandler
from watchdog.observers import Observer

from localstack.cli import console
from localstack.dev.run.paths import HOST_PATH_MAPPINGS, HostPaths
from localstack.utils.container_utils.container_client import ContainerClient
from localstack.utils.threads import TMP_THREADS, FuncThread

DEBOUNCE_WINDOW = 0.5


console = Console()


class ChangeHandler(FileSystemEventHandler):
"""Handles file system events for .py files, debouncing and signalling the container."""

Expand Down
Loading