Fork me on GitHub
#squint
<
2024-07-08
>
pekudzu03:07:27

anyone have squint + 3js example code? the example on <https://squint-cljs.github.io/squint/examples/threejs/playground.html> seems to be dead 😞

borkdude06:07:23

The example code should still work, check out the repository.

👍 1
pekudzu03:07:28

additionally, does anyone have examples of live reloading with squint? the closest i've seen is the cherry example babashka script, but im unsure if thats still state of the art for it

Aziz Aldawood05:07:12

I use 'npx squint watch'

pekudzu06:07:20

i... did not realise it was that simple lol

borkdude06:07:13

For live reload use watch + vite, see the react example

👍 1
💯 1
pekudzu06:07:42

hmm, seem to be getting a repeat of an issue thats reportedly fixed

pekudzu06:07:00

@U04V15CAJ apologies for the ping -- any ideas on this? my package.json reports "squint-cljs": "^0.8.112"

borkdude06:07:25

Please provide a repro of what you’re doing

borkdude08:07:45

can you try npx squint compile <file> instead and then run the file with Node.js, just as a test? it may just be an issue with run

pekudzu08:07:09

does indeed seem to be run - i get functional mjs output from npx squint compile eg.cljs in the same repro

borkdude09:07:12

can you make a github issue about this?