Skip to main content

Drun (Deno runner)

Helps to restart automatically your deno application during development

Installation

deno install --allow-read --allow-run --unstable https://deno.land/x/drun/drun.ts

How to use

drun --entryPoint=./index.ts --cwd=./
  • --entryPoint: The entry point of your program
  • --cwd: Root folder from which you want to watch

Configuration file

It is possible to create a configuration file at the cwd location. This configuration file must be named drun.json

Example of configuration file

{
  "entryPoint": "./index.ts",
  "cwd": "./",
  "excludes": [
    "./file/you/want/to/exclude.ts"
  ]
}