http-server-o.bat 最方便启动当前目录的index.html
目的
已经写好的前端小工具,自己使用。如果发给别人使用 就放nginx里面。
文件创建位置为当前index.html 同级目录
bat 内容
http-server -o
bat文件名开始起名是 http-server.bat 会导致名字重复,就会循环调用自身,所以bat命令的文件名不能和全局的命令一样
http-server-o.bat 最方便启动当前目录的index.html
已经写好的前端小工具,自己使用。如果发给别人使用 就放nginx里面。
文件创建位置为当前index.html 同级目录
bat 内容
http-server -o
bat文件名开始起名是 http-server.bat 会导致名字重复,就会循环调用自身,所以bat命令的文件名不能和全局的命令一样