question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hard reset doesn't work

See original GitHub issue

Hi there,

first thanks for that helpfull plugin!

A reload for the frontend-part (means changing /app/index.htm) works well. But if I define the electron-parameter the program crashes when I do make changes on the /main.js. Do you have any clue where does it come from?

Thanks in advance!

Two little fixed for your README:

  1. The line mainWindow.loadUrl(file://${__dirname}/index.html); -> The name of the function has changed loadUrl to loadURL (capital letters)
  2. And the line electron: require(‘electron-prebuilt’) doesn’t work anymore, because electron-prebuilt doesn’t exist anymore.

2017-01-20 21_43_56-picturecopyandsort - c__users_hobelmann it_sync_dev_htdocs_picturecopyandsort

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

8reactions
bknifflercommented, Sep 13, 2018

I guess it must have something to do with spawn on windows. Maybe something like https://www.npmjs.com/package/cross-spawn could help.

I’ve found another solution that works ok (slower than electron-reload) which is nodemon: nodemon --watch * --exec "electron .".

3reactions
yan-fotocommented, Aug 21, 2019

@TomasHubelbauer it could, but I don’t want it to… the whole console.log stuff were meant to be temporary. In the next release I want to have a proper event based system with well-defined error codes. So if you wait a little bit, we’ll have a better solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

4 Ways to Fix iPhone Won't Restart/Force Restart Not Working
There is a final way you can try if force restarting is either not working. That is put your iPhone into recovery mode...
Read more >
iPhone Force Restart not working - Apple Support Communities
iPhone Force Restart not working · Press and quickly release Volume UP button · Press and quickly release Volume DOWN button · Press...
Read more >
Android Factory Reset Not Working? Try These Fixes - Hongkiat
Go to Settings > Battery manager > Disable fast boot. · Now, turn off the phone. · Press Volume Down + Power button....
Read more >
SOLVED: Hard Reset Not Working - iPhone 8 - iFixit
Try holding down the power button and while holding the power button in plug your device into a computer with iTunes on it...
Read more >
What should I do if a hard reset doesn't work on a Samsung ...
Hard reset: depending on the model, make sure device is powered off. Hold the vol.down button and power button simultaneously till the logo...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found