it does not work on osx
See original GitHub issueHello,
It does not work on osx for me. When I just require the electron:
require('electron-reload')(__dirname, {   electron: require('electron') });
I get the messsage:
Electron could not be found. No hard resets for you!
So, I specify the electron path:
require('electron-reload')(__dirname, {   electron: path.join(__dirname, 'node_modules', '.bin', 'electron') });
With this config the app flashes for a split second, then exits.
I’ve prepared demo: https://github.com/mikes01/electron-quick-start
OS X El Capitain v10.11.5 electron v1.6.8 electron-reload v1.1.0
i will appreciate your help with this issue.
Issue Analytics
- State:
 - Created 6 years ago
 - Reactions:1
 - Comments:6 (2 by maintainers)
 
Top Results From Across the Web
If your Mac doesn't turn on - Apple Support
If your Mac doesn't turn on · Check power connections · Press and hold the power button · Unplug accessories · If you...
Read more >How to Fix the "macOS Could Not Be Installed on Your ...
1. Restart Your Mac and Retry the Installation. Sometimes, all you need to do to fix macOS errors is to restart your Mac...
Read more >MacBook won't turn on? Here's how to fix it - Macworld
Shut down the MacBook. Unplug and then reconnect the power cable. Press Shift + Ctrl + Option/Alt keys and the power button at...
Read more >7 Ways to Troubleshoot If the App Store Will Not Load on a Mac
If the App Store won't load or work properly on your Mac computer, there are a number of ways to troubleshoot the problem....
Read more >Mac Not Turning On? Take These 8 Steps to Fix It - MacKeeper
See if your Mac has power · Check the hardware · Perform a power cycle · Reset the SMC · Restore from Recovery...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It also work for me.
I just tried it on macOS and it does work for me.