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.

Main file is ignored

See original GitHub issue

What is the problem

The main files is included in the ignored paths and therefore the watcher ignores is resulting in no hard resets at all.

How to reproduce

Import the library in any Electron project, run the app and make changes on the main file without setting the forceHardReset flag

Additional information

"electron-reload": "~1.4.0", "electron": "~5.0.6",

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mscoobbycommented, Jul 9, 2019

You don’t need the repository cloned, just run npm i https://github.com/yan-foto/electron-reload.git#develop and require it as usual and see if everything works.

Yes I’ve just cloned it and run the app. Hard reset works without any modifications and it spawns only 1 process.

0reactions
yan-fotocommented, Jul 15, 2019

ASAP. I’ve got a lot to take care of.

Read more comments on GitHub >

github_iconTop Results From Across the Web

.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git history. They can be local, global, or...
Read more >
.gitignore is ignored by Git - Stack Overflow
I was using "GitHub Desktop" as the main client, and it was ignoring some new .gitignore settings: commit after commit: You commit something....
Read more >
.gitignore File – How to Ignore Files and Folders in Git
ignored – these are all the files or directories that Git knows to completely exclude, ignore, and not be aware of in the...
Read more >
How can I ignore a file that has already been committed to a ...
Make sure your .gitignore file is up-to-date and contains all the correct patterns you want to ignore. Commit or stash any outstanding local...
Read more >
Ignoring Files and Folders in Git - GeeksforGeeks
Sounds interesting so that means that there are ignored files also in git. So to ignore a file in git we use a...
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