Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

129
Vistas
Electron-reload switching focus from VSCode to Electron app instance

Problem: When electron-reload detects changes, it correctly refreshes the webcontents of a BrowserWindow but it annoyingly switches focus from VSCode to the Electron app instance. This means I can no longer type in VSCode until I shift focus back.

I've been using electron-reload with VSCode for a long time and never experienced this behavior – the focus always stayed with the VSCode window I was working in. Recently I upgraded to the latest versions of Electron and electron-reload along with upgrading my OSX version to "Big Sur" and began seeing this behavior.

Has anyone else encountered this and is there a fix? I've tried initialing electron-reload with both methods below with the same result.

require('electron-reload')(__dirname, {
  electron: upath.join(__dirname, 'node_modules', '.bin', 'electron')
});

require('electron-reload')(__dirname);
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda