processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.38k stars 1.32k forks source link

Changes in code on local machine are not getting reflected on the localhost #2733

Closed Sudarshan-21 closed 9 months ago

Sudarshan-21 commented 10 months ago

Screenshot (75)

p5.js version

No response

What is your operating system?

windows 11

Web browser and version

chrome://120.0.6099.72

Actual Behavior

when p5.js code is run on local machine and changes are made, they are not getting reflected on localhost.

Expected Behavior

if changes are made in the code the respective changes should reflect on the localhost

Steps to reproduce

Steps:

  1. make changes in the p5.js code on local machine
  2. reload the localhost
  3. open console
welcome[bot] commented 10 months ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

skushagra9 commented 10 months ago

What is the error you are facing ?

Sudarshan-21 commented 10 months ago

i am not able to see changes in the p5.js local machine setup when i change code on the local machine, i have attached the screenshot for reference

HrxSrv commented 10 months ago

please specify your docker version.

Sudarshan-21 commented 10 months ago

docker version: 24.0.7

Sudarshan-21 commented 10 months ago

@skushagra9 can you help?

skushagra9 commented 10 months ago

where have you made the changes ?

rahulrangers commented 10 months ago

yeah i am also facing same issue i have changed i name Cookies into Cookies222 and i am not able to see the change.

skushagra9 commented 10 months ago

when you restart server , are you able to see then ?

rahulrangers commented 10 months ago

yes i can see them when i restart the container and , when i enter the docker container(by the command docker exec -it ) i can see the files inside are being changed inside the container but don't know why are not being reflected into the localhost.

Saikat123Dev commented 10 months ago

You can follow the manual installation Follow this docs https://github.com/processing/p5.js-web-editor/blob/develop/contributor_docs/installation.md. Don't use docker in case of windows it will not reflect the changes in localhost .

Sudarshan-21 commented 10 months ago

@rahulrangers you should consider switching to other operating system. I did the same, it runs fine on linux

rahulrangers commented 10 months ago

i tried manual installation and it is working thanks for your help :)