donnikitos / vite-plugin-php

Vite's speed and tooling to preprocess PHP-files!
https://www.npmjs.com/package/vite-plugin-php
MIT License
30 stars 0 forks source link

Build watch does not reflect changes #6

Open skabeche opened 9 months ago

skabeche commented 9 months ago

Define vite build --watch in package.json on scripts: image

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.

donnikitos commented 9 months ago

I didn't account for that option, but I'll look into that as well