feat: add deno task config in fresh init bootstrapped projects (#143)

This commit is contained in:
Yongwook Choi
2022-04-23 15:16:31 +02:00
committed by GitHub
parent bfd5bd3e9f
commit 49d2e54335
7 changed files with 33 additions and 11 deletions
+10 -2
View File
@@ -1,6 +1,14 @@
The next step after scaffolding out a new project, is to actually start it. To
do this you can just `deno run` the `main.ts` file with the appropriate flags.
You will need to provide permission flags for:
do this you can just `deno task start`.
```
$ deno task start
Watcher Process started.
Server listening on http://localhost:8000
```
If you want to start manually without Deno task, `deno run` the `main.ts` with
the appropriate flags. You will need to provide permission flags for:
- **`--allow-net`**: This is required to start the HTTP server.
- **`--allow-read`**: This is required to read (static) files from disk.