-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome Web Server Alternatives #60
Comments
I use https://github.com/TheWaWaR/simple-http-server and https://github.com/winsw/winsw. <service>
<id>witchcraft-server</id>
<executable>server</executable>
<arguments>--nocache "D:\GoogleDrive\Dev\witchcraft" -p 5743</arguments>
<log mode="none"></log>
</service> |
I just use a nginx, here is a config for windows:
You just need to replace the z:/temp with your temporary dir as nginx config doesn't support environment variables. |
If you have NodeJS installed, you can use browser-sync: #!/bin/bash
npx browser-sync start --server --files --watch --directory --port 5743 --no-open --listen 127.0.0.1 . Edit: Add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I thought I'd raise this as the documentation specifies to use Chrome Web Server.
Since Chrome Web Server has now been shutdown, there are some other alternatives people can use.
My personal preference: Docker
docker run -it -d -p 5743:80 --restart unless-stopped --name witchcraft -v ~/witchcraft-scripts:/usr/share/nginx/html nginx
Then as long as docker is running it'll always work.
Alternatively npm's http-server
cd witchcraft-scripts && http-server -p 5743
The text was updated successfully, but these errors were encountered: