gleam add lite_fs
import lite_fs
import gleam/io
pub fn main() {
// localhost:20202/events
// print events to console when you get them
lite_fs.start(port: 20202, with: io.debug)
}
Further documentation can be found at https://hexdocs.pm/lite_fs.
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell