Test single page applications
Routed SPAs generally require a file server which directs all traffic to a single index file. Yet, there are no existing tools to easily test them without significant setup. tspa is a simple, zero config, portable solution for locally testing SPAs from any directory.
Any path without a file extension will serve the base index file (index.html) in the specified directory (default ./). -h to specify host and -p to specify port.
seed-server.exe [OPTIONS] [DIR]
--help Prints help information
-V, --version Prints version information
-h, --host <host> Server host address [default: 0.0.0.0]
-p, --port <port> Server port [default: 8080]
<DIR> File directory [default: .]