Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

lorri watch takes forever and I can't run it in verbose mode #474

Open
korayal opened this issue Sep 7, 2020 · 0 comments
Open

lorri watch takes forever and I can't run it in verbose mode #474

korayal opened this issue Sep 7, 2020 · 0 comments

Comments

@korayal
Copy link

korayal commented Sep 7, 2020

Describe the bug
lorri watch or lorri daemon takes ~20 minutes to complete a project (using 100% of the cpu) that has all it's dependencies available in /nix/store. When I run nix-shell on the same folder, I can drop into the shell right away, but for lorri it keeps taking forever. I get the same result when I shut down lorri daemon after it completes a project build event, re-run lorri daemon and wait for it to build the same project.

To Reproduce
Steps to reproduce the behavior:

  1. run lorri daemon --verbose
  2. trigger direnv on a folder
  3. wait for it to be completed

Expected behavior
It should be outputting debug logging and it shouldn't take that long for a project to be completed.

Metadata

$ lorri info
lorri version: 1.2
GC roots exist, shell_gc_root: "/Users/korayal/Library/Caches/com.github.target.lorri.lorri.lorri/gc_roots/b881d26034160af7289f38cda058e92e/gc_root/shell_gc_root"
$ uname -a
Darwin C02ZX1V2MD6N 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul  5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64 i386 MacBookPro16,1 Darwin
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant