squint

pekudzu 2024-07-08T03:38:27.041869Z

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

pekudzu 2024-07-08T07:56:20.951729Z

ty !

borkdude 2024-07-08T06:45:23.502149Z

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

πŸ‘ 1
pekudzu 2024-07-08T03:39:28.722139Z

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

borkdude 2024-07-08T08:19:12.853899Z

specifically this example: https://github.com/squint-cljs/squint/tree/main/examples/vite-react

2024-07-08T05:25:12.810649Z

I use 'npx squint watch'

pekudzu 2024-07-08T06:10:20.276189Z

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

borkdude 2024-07-08T06:44:13.136259Z

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

πŸ‘ 1
πŸ’― 1
pekudzu 2024-07-08T06:20:42.228059Z

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

pekudzu 2024-07-08T07:55:33.341399Z

https://gist.github.com/crestofthebeast/884e32a765af812abe4ca43fd2349e2a here's a gist!

borkdude 2024-07-08T08:16:45.818469Z

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

pekudzu 2024-07-08T08:34:09.707739Z

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

borkdude 2024-07-08T09:02:12.656319Z

can you make a github issue about this?

pekudzu 2024-07-09T03:35:55.784799Z

will do

pekudzu 2024-07-09T03:41:04.489799Z

done: https://github.com/squint-cljs/squint/issues/542

pekudzu 2024-07-08T06:21:04.939169Z

https://github.com/squint-cljs/squint/issues/277

pekudzu 2024-07-08T06:23:00.135279Z

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

borkdude 2024-07-08T06:43:25.981389Z

Please provide a repro of what you’re doing