nhost / cli

Nhost CLI
https://docs.nhost.io/development/cli/overview
MIT License
77 stars 28 forks source link

feat: configserver: use filepaths to avoid disconnected fds #856

Closed dbarrosop closed 7 months ago

dbarrosop commented 7 months ago

File descriptor might change if users revert a file using git or similar. To avoid that issue we:

  1. Mount the parent folder instead of the file
  2. Open/Write/Close the file each time instead of relying on readers and writers