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

144
Visualizações
How can I have my react app notice updates in a npm module?

I'm making some tweaks to an npm package for my app and for some reason it's not being recognized when I start my dev server. I was able to get it recognized by deleting the library and then reinstalling + replacing the files with the ones I had saved locally, but even that doesn't work anymore. I tried deleting the browser's cache, but that didn't work either.

I'm using Nextjs with Typescript and using console logs to see when the file change is recognized by react.

Thanks for any help.

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

0

It looks like I had to delete the cache folder that is generated in the .next directory. So if I want to make changes and see them reflected right away I need to stop the server, delete the cache folder, then start the server again. In case others had this issue, that's the solution.

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