add liverreload to watch view file modification

and ruby syntax check