diff --git a/Readme.md b/Readme.md index c0e50e2..f2c665e 100644 --- a/Readme.md +++ b/Readme.md @@ -77,6 +77,14 @@ Test: $ make test +There is also a test image server which can be used for visual test verification: + + $ node test/server.js + +or provide a port: + + $ sudo node test/server.js 80 + ## License (The MIT License) diff --git a/test/server.js b/test/server.js index 316b791..273f151 100644 --- a/test/server.js +++ b/test/server.js @@ -11,7 +11,7 @@ var args = process.argv.slice(2) ? parseInt(args[0], 10) : 3000; -var images = fs.readdirSync(__dirname + '/images').slice(1).sort(); +var images = fs.readdirSync(__dirname + '/images').sort(); function ul(items) { var buf = '