Closed rawhat closed 6 months ago
You are right about the issue.
I fixed the issue with vite-gleam
0.4.0 (I forgot to push it to master but it's published on NPM since November 22).
What version of the plugin are you using?
Oof, I'm really sorry. I somehow had a very old version? And then seeing the code on the master branch, I guess I didn't think to check that. Thanks for the info!
Oof, I'm really sorry. I somehow had a very old version? And then seeing the code on the master branch, I guess I didn't think to check that. Thanks for the info!
no worries. it's my bad since I didn't push my code to github until yesterday
Hello! This is great, and I'm using it for an
npx vite dev
perfectly.When I go to build for production with
npx vite build
, it's in--watch
mode even without specifying that anywhere in my Vite config.Here is the output:
I think maybe this stuff https://github.com/Enderchief/gleam-tools/blob/master/packages/vite-gleam/src/index.ts#L60 should be conditionally set? I'm not sure if passing
--watch
does anything to the config. If so, that would be easy enough to check.Thanks!