Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

68
Views
Electron JS watch large set of files efficiently

I am creating an electron js application where I want to sync the files recursively in the directories that are configured by the user.

The following is currently implemented in the application

  1. When the app boots, use chokidar to get the initial state of files and sync with the config.json using electron-store. This is to get the latest update of the file while the application is closed
  2. Run a persistent watcher right after initial sync to get the add, unlink and change event and notify the user somehow.

The problem is with the first case. Since the user is linking so many files with multiple nesting the electron app lags until all the files are being processed.

What I want to know exactly is, "Efficient way to watch a really large amount of files / directories"

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!