gimm / gulp-live-server

serve your nodejs/static app live
148 stars 71 forks source link

Be more clear with the default options documentation #49

Open mrandri19 opened 9 years ago

mrandri19 commented 9 years ago

In the documentation for the default settings it is not clear that it will serve files from the ./public directory.

//1. serve with default settings
var server = gls.static(); //equals to gls.static('public', 3000);
server.start();

Just add //This will serve the files from the ./public directory

gimm commented 9 years ago

thanks for your advice.

maotora commented 8 years ago

Also as of now i couldn't serve my files from ./public until i explicitly wrote gls.static('public', 3000);