Closed andrew-bibby closed 3 years ago
I was able to produce the same issue setting root: '/'
. However, by setting root: '../'
I was able to select from the parent directory of my project.
I have tested the case on my pc, the terminal hangs is caused by there are two many files under the root (/) directory, it takes time to traverse.
I will work on the optimization of implementation right now
@andrew-bibby I just publish a new version 1.0.7 which fixed this issue
I want to be able to select files from outside the current working directory (process.cwd()). However if I update the root parameter to anything higher than the current directory it hangs. Is this something that is not possible with this library or an error in my configuration?