donnikitos / vite-plugin-php

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

Build watch does not reflect changes #6

Open skabeche opened 1 year ago

skabeche commented 1 year 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 1 year ago

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