You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I’ve followed the steps from here because I keep my fresh app in a separate app directory, and the parent deno.jsonc contains configuration for both fresh and other code as well. https://fresh.deno.dev/docs/examples/changing-the-src-dir
As a result, automatic fresh updates don’t work. The updater expects the routes folder to be at the same level as deno.jsonc. Is there any workaround or fix for this?
The text was updated successfully, but these errors were encountered:
error: Uncaught (in promise) NotFound: No such file or directory (os error 2): readdir '/home/ec2-user/bromo/dash/server/routes'
const routes = Array.from(Deno.readDirSync(join(srcDirectory, "routes")));
^
at Object.readDirSync (ext:deno_fs/30_fs.js:210:10)
at https://deno.land/x/fresh@1.6.5/update.ts:279:32
at eventLoopTick (ext:core/01_core.js:169:7)
Calling this command actually updates deno.jsonc, it replaces $fresh/ and does a few other unexpected things, like removes my comments (it’s jsonc after all) and adds build and preview tasks (I already have them under different names).
Hello. I’ve followed the steps from here because I keep my fresh app in a separate app directory, and the parent deno.jsonc contains configuration for both fresh and other code as well. https://fresh.deno.dev/docs/examples/changing-the-src-dir
As a result, automatic fresh updates don’t work. The updater expects the routes folder to be at the same level as deno.jsonc. Is there any workaround or fix for this?
The text was updated successfully, but these errors were encountered: