Currently I have make commands for running and bundling. I'd like to make development easier by having the web application automatically reload when the server restarts or a public file changed since the page initially rendered. It should run deno bundle with watch flag so that the public/main.ts file is updated whenever a change is made to the react code.
Add make run-dev with live reloading
Remove the make run-watch and make bundle-watch commands
Currently I have make commands for running and bundling. I'd like to make development easier by having the web application automatically reload when the server restarts or a public file changed since the page initially rendered. It should run deno bundle with watch flag so that the public/main.ts file is updated whenever a change is made to the react code.
make run-dev
with live reloadingmake run-watch
andmake bundle-watch
commands