Replies: 3 comments 2 replies
-
Deployed production instance does not use file watching and manifest updating. CLI is only for local development and preparing deploy image. |
Beta Was this translation helpful? Give feedback.
-
Absolutely, I agree with you, maybe "fresh“ is deno-deploy version nextjs. Also I suggest fresh should integrete with @trpc , like blitzjs design. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for the feedback! In the limit I want to remove the
The |
Beta Was this translation helpful? Give feedback.
-
Hello fresh people,
I am currently exploring and learning to appreciate Deno. In the process, I of course stumbled across fresh. I really like the approach, which is inspired by Next without a build-step. But instead of the build-step, a manifest has to be created with a CLI. I have some thoughts on this and would like to know if I have understood everything correctly.
Why is there a CLI at all? The only reason I can see is to create a manifest. Couldn't this step be skipped, for example by using a dev-command in the start script, which then starts a watcher, which monitors the filesystem and then restarts the server or even just reloads single resources? At the same time, this would solve the problem that new routes and islands are not automatically detected.
The second task of the CLI - initiating a new project - could easily be replaced with a git-clone for example. Or am I misunderstanding the task of the CLI or the manifest? Can someone enlighten me?
Either way - thanks for the great work and for bringing forward such good and important projects!
Beta Was this translation helpful? Give feedback.
All reactions