nodegui / react-nodegui-starter

Starter repository for react based native desktop apps using react-nodegui
173 stars 31 forks source link

hot reloading and live reloading #9

Closed mouhsnimohamed closed 5 years ago

mouhsnimohamed commented 5 years ago

How can I enable Hot reloading and Live reloading

a7ul commented 5 years ago

Hi @mouhsnimohamed Hot reloading and live reloading support is not supported and is WIP. But you could use a temporary solution till then for live reload.

You could use nodemon. Just add the following npm script

"start:watch": "nodemon -e js,ts,tsx --ignore dist/ --ignore node_modules/ --exec npm start"  
mouhsnimohamed commented 5 years ago

thanks @master-atul that works for me. but I'm wandering how can I build a .exe file for windows users? I searched in docs but didn't find anything about that. I want to make my first app using react-nodegui

a7ul commented 5 years ago

App Packaging is WIP. You should hear about it very soon (in few days). 😄 @mouhsnimohamed Till then you can start building your app and maybe suggest few improvement or raise PRs containing improvements to this project :)

a7ul commented 5 years ago

@mouhsnimohamed App packaging is now ready. I have just released a basic version of it at the moment. You can check it out at https://github.com/nodegui/packer

mouhsnimohamed commented 5 years ago

awsome! I'll give it a try. thanks

a7ul commented 5 years ago

Closing this as its a duplicate of https://github.com/nodegui/react-nodegui/issues/5