kadamwhite / p5-cli

An NPM-based CLI for creating and running P5.js projects.
MIT License
30 stars 3 forks source link

Allow CLI "serve" command to serve an arbitrary .js sketch file #4

Closed kadamwhite closed 9 years ago

kadamwhite commented 9 years ago

Removing the need to construct an index.html file lowers the barrier to entry for p5; per @brysonian's suggestions in #1, we should permit p5 serve <some JS file> and auto-construct an HTML file with P5 pre-loaded.

Implementation concept: