Getting Started with p5.js IV

p5 server
  • Open a new cmd window/terminal and move to the p5yourName folder.
  • At the prompt type p5 server. This will enable the p5-server module to your project.
  • Open your browser to the URL localhost:5555/index.html

Your server is ON!

Add in the sketch.js the code console.log("Hello  p5!") and Save. 

Reload the browser, and inspect in the console.  Everything is OK!

In your editor Discard these changes to avoid the Git update and save the file.