-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
electron-prebuilt renamed #16
Comments
So you are only gonna have soft resets. I don't get the question? |
I changed |
|
Yeah I had it installed locally. But I'm trying to do the two package.json build now - I discovered that earlier before I started on that. But I think in the future I want to move to TypeScript so i'd have to recompile and restart anyways from my understanding. So soft restarts would probably be good enough for my needs. |
I will check this later today and update the documentation. Thanks for the heads up and sorry for the initial misunderstanding! |
Do you have an update on this? |
@JBodkin not yet. pull requests are welcome! |
Looks to be related to the way Previously the I was able to work around this by providing a path to the index.js inside the module home instead.
|
I somehow suspected that I'll take a look at it. I would try to find another way, as Thanks for taking a look at it. 👍 . |
Ok guys, I am going to close this issue. I took a look at the whole situation and realized that obviously you cannot |
@Peter-Gess can depend on many things. You better should consult stackoverflow. Issues are preferably only for bugs. |
Thanks @JBodkin. Fixed |
Just a small note. For @JBodkin comment suggestion generally fixes this issue but only if |
make sure that the electron-reload module is installed locally in your project, if not the case Visit your console and type: |
@rachidsakara Thank you for comment. It helped me. But the only thing you need to fix are quotes. You should use ` not ' for interpolation. For instance the proper version of Option 3 is: |
Hi! Mike Eshva for the comment. well I think if copy it the command from
that answer it will works perfect on your coding Editor for instance
Sublime Text.
…On Wed, Jul 4, 2018 at 11:04 PM, Mike Eshva ***@***.***> wrote:
@rachidsakara <https://github.com/rachidsakara> Thank you for comment. It
helped me. But the only thing you need to fix are quotes. You should use `
not ' for interpolation.
For instance the proper version of Option 3 is:
require('electron-reload')(__dirname, { electron:
require(`${__dirname}/node_modules/electron`) })
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ab-V3G6Aqhysb7qXVbaSJSAji2OzJ0ogks5uDTwAgaJpZM4KeSOH>
.
|
Hi! Mike Eshva thanks for the comment. well I think if you copy any
command from that answer it will works perfect on your coding Editor for
instance Sublime Text.
…On Wed, Jul 4, 2018 at 11:04 PM, Mike Eshva ***@***.***> wrote:
@rachidsakara <https://github.com/rachidsakara> Thank you for comment. It
helped me. But the only thing you need to fix are quotes. You should use `
not ' for interpolation.
For instance the proper version of Option 3 is:
require('electron-reload')(__dirname, { electron:
require(`${__dirname}/node_modules/electron`) })
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ab-V3G6Aqhysb7qXVbaSJSAji2OzJ0ogks5uDTwAgaJpZM4KeSOH>
.
|
It will not. I've checked. For string interpolation you have to use backtick and you use single quote. |
Just FYI, backtick works, single quote did not for me. |
http://electron.atom.io/blog/2016/08/16/npm-install-electron
I went ahead and updated my project and removed prebuilt.
My code is:
but I get "Electron could not be found. No hard resets for you!" when I start my app...
The text was updated successfully, but these errors were encountered: