processing / processing/p5.js-web-editor

If you stopped the program, turn auto refresh on, and edit code the program starts running again.

Open
#4,288 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Awaiting Maintainer Approval Bug
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

p5.js version

2.3.2

What is your operating system?

Windows

Web browser and version

152.0.7977.66 (Official Build) (64-bit) (cohort: Control)

Actual Behavior

When I stop running the code in the editor then edit the code with auto refresh on the code starts running again.

Expected Behavior

In the past when I stopped the editor and edited code with auto refresh on the editor wouldn't start running again, it would stay stopped.

Steps to reproduce
Steps:
  1. Stop the editor
  2. Turn on auto refresh
  3. Write something in the editor

https://github.com/user-attachments/assets/945d48bf-3c6c-4087-a016-4ae6dc4b0cce

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this in the p5.js Editor using the listed steps: stop the editor, enable auto refresh, and edit the sketch. Trace how the stopped state and auto-refresh handling interact. Done means editing while auto refresh is enabled no longer starts a stopped program, while normal auto refresh still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.