Create start_server_windows.bat
A `.bat` file for Windows users to automatically run server in current directory and then open a browser page of the server. A similar function should be able to achieve in Mac/Linux via a `.sh` file, but I don't have the environment to test and I don't know the syntax of said files. I hope some people can make that a thing... 一个用于Windows,可以自动在当前目录启动server并打开浏览器页面的 `.bat` 脚本。 类似的功能应该可以用 `.sh` 文件在Mac/Linux上实现,但是我既没有对应的环境用来测试,也不知道这种文件的语法。希望有人能做出来这个 `.sh` ……
This commit is contained in:
1
start_server_windows.bat
Normal file
1
start_server_windows.bat
Normal file
@@ -0,0 +1 @@
|
||||
http-server -p 1234 -o
|
Reference in New Issue
Block a user