added livereload.
added index generation.
fixed livereload.