p5.serialserver icon indicating copy to clipboard operation
p5.serialserver copied to clipboard

Add command line argument for server port with default 8081

Open vanevery opened this issue 10 years ago • 1 comments

node startserver.js 8081 ./startserver.js 8082 etc..

vanevery avatar Oct 21 '15 13:10 vanevery

process.argv.forEach(function (val, index, array) { console.log(index + ': ' + val); });

vanevery avatar Oct 21 '15 14:10 vanevery