The readme currently says,
include resolves views from relative path from executed ts / js file. (not from ejs template file).
This is either ambiguous phrasing or a mistake. Right now include calls renderFile, which calls Deno.open. Deno.open resolves paths relative to Deno.cwd(), not the template path or the executed file path. This means that changing the current directory though Deno.chdir breaks include.
The readme currently says,
This is either ambiguous phrasing or a mistake. Right now
includecallsrenderFile, which callsDeno.open.Deno.openresolves paths relative toDeno.cwd(), not the template path or the executed file path. This means that changing the current directory thoughDeno.chdirbreaksinclude.