Define vite build --watch in package.json on scripts:
Run the script
npm run watch
It keeps watching any change and rebuilds if it's so but it doesn't reflect anything new on the page after the first build.
It seems like the temp file does not update accordingly.
Define
vite build --watch
in package.json on scripts:Run the script
It keeps watching any change and rebuilds if it's so but it doesn't reflect anything new on the page after the first build. It seems like the temp file does not update accordingly.