Skip to content
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

feat: Added support for hot reloading #265

Closed

Conversation

arnitkun
Copy link
Contributor

Fixes #67 using nodemon to hot reload.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.717% when pulling c931570 on arnitkun:feature/support_hot_reloading into 32494c0 on electron:master.

@arnitkun arnitkun changed the title Added support for hot reloading Feature: Added support for hot reloading Oct 11, 2019
@arnitkun arnitkun changed the title Feature: Added support for hot reloading feat: Added support for hot reloading Oct 11, 2019
Copy link
Member

@erickzhao erickzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @arnitkun, it seems like this hot reload PR is applying nodemon to the npm start command to run Fiddle itself. However, the original issue was asking for hot reloading on the executing of the Electron code itself within Fiddle.

The solution to the problem would probably require a fundamentally different solution, either through a library like electron-reload(https://github.com/yan-foto/electron-reload) or a bespoke implementation that watches the source files using chokidar or a similar library.

@erickzhao
Copy link
Member

Hey @arnitkun, I'll be closing this PR for the time being, since the base solution is not what we're looking for. Feel free to let us know if you want to keep working on this.

@erickzhao erickzhao closed this Nov 5, 2019
@arnitkun
Copy link
Contributor Author

arnitkun commented Nov 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hot reload support?
3 participants