2 ms·
> --directory . Huh, neat! Did’t know it supported that. (python3 -m http.server will default to current directory anyway though)
by notpushkin 1y ago
> --directory .
Huh, neat! Did’t know it supported that. (python3 -m http.server will default to current directory anyway though)
- susam 1y agoYes! I often use a command like this to test my statically generated website locally using a command like this: python3 -m http.server -d _site/ Example: https://github.com/susam/susam.net/blob/0.3.0/Makefile#L264-L265 https://github.com/susam/susam.net/blob/0.3.0/Makefile#L264-...