Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

121
Visualizações
How to add event listener on folder in Electronjs

I'm trying to detect changes in folder for example when I create/update something in specified folder, I need to see that in console of my electron app, so the question is how to show in console every changes in folder and when I click on any file, how to detect on which file I clicked, is it possible with electronjs/nodejs

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

this article compares the chokidar module with the node.js builtins fs.watch() and fs.watchFile() and comes to the conclusion that chokidar is the way to go. So there's your alternatives for implementing this feature.

This does not handle clicking on files though (you mean in the file explorer, not in your app, right?) which is not possible afaik.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda