Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live reloading not working properly #194

Open
urnotnagy opened this issue Oct 3, 2023 · 1 comment
Open

Live reloading not working properly #194

urnotnagy opened this issue Oct 3, 2023 · 1 comment

Comments

@urnotnagy
Copy link

urnotnagy commented Oct 3, 2023

using wsl2 on windows 10 after creating or running any sketch, the live view only renders once, then doesn't care for editing the sketch again for some reason.

image

image
this was edited after the sketch was ran

image
here it doesnt change even after refreshing/restarting the browser

I tried:

  • reinstalling
  • using canvas-sketch-cli
  • running with hot reload feature
  • making and running a new sketch on command line with canvas-sketch sketch.js --new --open
  • changing the output folder when running as in canvas-sketch sketch-01.js --output=media/
@julienrondeau
Copy link

I think you should try this in your working directory :

canvas-sketch sketch-01 --output=medias/

this would create a directory named medias where canvas-sketch will be able to export your working file as .png

hope this help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants