Comments (4)
I just fixed this with latest commit. See README for new keyboard shortcut to access server log
from electron-with-express.
I'd love to make the key bind work again but maybe the easiest thing to do is to either enable the menu bar or create a custom menu that allows the Server Log to be shown. Maybe the answer is to move away from a web view but I haven't looked at what the options are recently since I've been not paying attention to Electron for quite some time.
from electron-with-express.
it work for me, I'm in Windows 10 and run the app with powershell. Just to give you a feedback, thank you for this good example, it help a lot to begin.
from electron-with-express.
Okay so as I'm just getting back into this after an extended break I forgot some things I already did previously. I'd like to make a correction to what I said. It seems I switched from webview
to iframe
for hosting the express content. If you do not focus the main part of the window (no clicking) then the key bind works. After you click the content the key bind will no longer get triggered because the iframe
has exclusive control apparantly. I am pretty sure Electron has a way to do global key binds inside the Electron main process so I'm going to attempt that.
Also a long time ago when I started this, this was not a problem and worked as expected with using key binds set up in the normal web programming way.
from electron-with-express.
Related Issues (20)
- Building the application with electron-builder, it doesn't work. HOT 2
- console.log() doesn't work HOT 1
- Support both win32 and win64 HOT 1
- Sending messages to main process from express-app process HOT 6
- electron-with-express rewrite HOT 10
- Express process is not killed if app closes before window has created HOT 8
- Security warnings HOT 4
- electron-packager build not starting express server. HOT 3
- After create exe jquery module not found is showin HOT 3
- if access the page from chrome, the express app will report error in log HOT 4
- require('electron').remote.app.getAppPath() no longer working HOT 2
- Productive build, there is no more index.html with line 64 anymore HOT 1
- new version remote electron @electron/remote HOT 3
- License mismatch between package.json and LICENSE HOT 1
- ff059291d16250f548ef05aac52aefdd4507fd09
- Question: Why use a html to load the server file? HOT 9
- add mongodb to the app HOT 2
- How to use ipcRenderer from Express? HOT 3
- Only loading when I packaged using packager and run the exe file. it is not loading the ejs file. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-with-express.