Independently of setting period 1 or not, the command
lf --command "set hidden"
does not always display hidden files correctly, at least until I move to the parent directory, after which the hidden files display:

Executing reload also immediately displays the missing hidden files.
I'm using the latest release, but also tested the issue on r13, using both the st and the Terminator emulators.
I'm experiencing the same behaviour on macOS running r14 and alacritty.
same happens for me, arch linux + st.
I forgot to mention: I was running on Ubuntu 18.04
@BachoSeven This is probably due to asynchronous loading of directories. You can set hidden option in the configuration. What is the use case for this?
@gokcehan I have set hidden in my lfrc and I have this problem too.
Same for me.
I have also set hidden in my lfrc, but upon starting lf, the hidden files are not visible most of the time. Sometimes, they are visible.
I tested with a hidden folder .foo and then startet lf. .foo was not visible. Quit lf.
Started lf 2nd time, .foo was not visible. Quit lf.
Started lf 3rd time, .foo was visible. Quit lf.
Started lf 4th time, .foo was not visible. Quit lf.
Moving around in lf reliably makes the hidden files visible, also calling :set hidden.
I run Ubuntu 20.04. and got lf via go get. lf --version returns only an empty, blank line.
@langenhagen Thanks for testing it out. I'm able to reproduce the bug myself. Since it's non-deterministic, I suspect it is due to async loading of directories. There are a few other bugs that I suspect due to the same reason. We might need to implement a blocking version of load command. This will be my top priority next time I can spare time for lf hopefully in the upcoming days.
With the latest update, we now check the modification time and sorting options one last time before directories are updated. I can't reproduce the bug with either set hidden in the configuration file or lf --command 'set hidden'. Closing this issue now.
Most helpful comment
With the latest update, we now check the modification time and sorting options one last time before directories are updated. I can't reproduce the bug with either
set hiddenin the configuration file orlf --command 'set hidden'. Closing this issue now.