Developing in dev mode with hot reloadDecember 28, 2019 at 4:22pm
Do I have to run yarn dev every time I make a change, or is there any better way? I'm working on demo.tsx from the react-nodegui repo.
December 28, 2019 at 5:41pm
npm run dev in case of react-nodegui repo (not starter) doesn't have webpack. Its just
"dev": "tsc && qode ./dist/demo.js",
So you dont have hot reload or live reload. But if you want to reload facility then you may add nodemon for your local development purposes.
You can do something like (I havent tested this):
"dev:watch": "nodemon -e js,ts,tsx --ignore dist/ --ignore node_modules/ --exec npm run dev"