Local development
For local development you can use the deno
CLI. To install deno
, follow the
instructions in the
Deno manual.
After installation, you can run your scripts locally:
$ deno run --allow-net=:8000 https://deno.com/examples/hello.js
Listening on http://localhost:8000
To watch for file changes add the --watch
flag:
$ deno run --allow-net=:8000 --watch ./main.js
Listening on http://localhost:8000
For more information about the Deno CLI, and how to configure your development environment and IDE, visit the Deno Manual's Getting Started section.