Skip to main content

Dev Server

Feel free to import TypeScript files in the script tag!

tag Build Status license Getting Started

Without install:

deno run -A --unstable https://deno.land/x/dev_server/mod.ts --template hello_world

Install & Run it:

deno install -A --unstable https://deno.land/x/dev_server/mod.ts

dev_server my_app --template hello_world

Print help info:

dev_server -h

Upgrade to the latest version:

deno cache --reload --unstable https://deno.land/x/dev_server/mod.ts

Create project from template:

# Check from https://deno.land/x/dev_server/template/
dev_server my_app --template hello_world
dev_server my_app --template react
dev_server my_app --template angular

Quick Test

deno run --allow-read --allow-write --allow-net --unstable ./mod.ts ./template/hello_world

TODOs

  • Hot Module Replacement
  • CSS Pre-Processors
  • Building for Production