Grey

Results 24 comments of Grey

Looking at [this line](https://github.com/denoland/fresh/blob/10094f894728e2074e5c10b678d8328258159310/src/dev/mod.ts#L145) it looks like if your `dev.ts` lives in `src/dev.ts` and your `start` task points there (`deno run -A --watch=src/static/,src/routes/ src/dev.ts`) it'll look for the routes directory...

The error seen look specifically related to invalid MIME type configuration in server ![Screen Shot 2022-07-06 at 12 26 31 PM](https://user-images.githubusercontent.com/5057468/177627626-70db2723-2fda-4850-89cb-5520c4089f3b.png)

Alright so moving the `import_map.json` into the `src/` directory and updating the `deno.json` to point the import map to `"importMap": "./src/import_map.json"` fixes the errors. It looks like the islands imports...

This is the code I added to my env.nu using nushell 0.61.0 that works: ``` #load env variables load-env (fnm env --shell bash | lines | str replace 'export '...

`or`/`orElse` is a really great utility type when dealing with remapping None and is a bit more readable when chaining rather than multiple `getWithDefault`'s as it gets pretty verbose and...

Hmm a tough one as I think both are a good solution and do the same thing but just read differently. Since the focus of this lib is around chaining...

The only I can think of that I didn't already put in an example is querying something that returns `Option` and if its `None` flat mapping it to another query...

This looks really good to me: has tests, no breaking changes, and very useful. You think you would have time @patrickmichalina at some point to review this?

@patrickmichalina Ah I see yea, perhaps @ChrisHadar could change it to use promises instead of the async/await keywords then?

Also @patrickmichalina why don't you want async/await keywords? It's been a core feature of typescript since 2.1 and since these are TS files anything evaluating them should have async/await keyword...