summaryrefslogtreecommitdiff
path: root/cli/module_graph2.rs
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2020-10-28 20:41:18 +0900
committerGitHub <noreply@github.com>2020-10-28 12:41:18 +0100
commitbfce376c685694569be2cbf0716dd58f898c111e (patch)
tree7ab1c2d1303080ecd74ab41dc2b33905761b653a /cli/module_graph2.rs
parent07359b795758179e1cffee23eae86e859898054b (diff)
refactor(watch): create single watcher for whole process (#8083)
This commit rewrites file watcher used with --watch flag. Instead of creating new watcher after each restart, only a single watcher is created for whole process. Additionally debouncing mechanism has been added to prevent infinite restart loops if multiple files were changed in quick succession. Co-authored-by: bartossh <lenart.consulting@gmail.com>
Diffstat (limited to 'cli/module_graph2.rs')
0 files changed, 0 insertions, 0 deletions