Replies: 2 comments
-
In production apps it should be set environtment variables DENO_DEPLOYMENT_ID with some random values like UUID? to disable live server. also you just need to |
Beta Was this translation helpful? Give feedback.
0 replies
-
I appreciate the response, but I'm not talking about production, I'm
talking about development with a containerized environment -- using
docker-compose to start my fresh app, a redis instance, a postgres
instance, etc. But when I do that, the containerized fresh app, launched in
its container using the same command line as I'd use to launch it locally,
doesn't provide hot reloading.
(Note that the app is running from a volume mounted from the host, so the
container hosted fresh app does see file changes, as evidenced by those
changes being reflected when I refresh the browser.)
I'm just wanting to enable hot reloading when running a development
environment that's set up this way.
…On Tue, Feb 7, 2023 at 10:53 PM Aris Riswanto ***@***.***> wrote:
If I launch my Fresh project from the command line locally (with, for
example, deno run -A --watch="static/,routes/" --unstable dev.ts) I get
auto refresh in the browser; however, if I launch it inside a docker
container using the same command, I don't.
Does anyone have any ideas why that would be, or how to fix it?
In production apps it should be set environtment variables
DENO_DEPLOYMENT_ID with some random values like UUID? to disable live
server. also you just need to deno run main.ts instead dev.ts
—
Reply to this email directly, view it on GitHub
<#917 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACMFGHNF37NGUNDF4SVQQDWWMKCPANCNFSM6AAAAAASII47VI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I launch my Fresh project from the command line locally (with, for example,
deno run -A --watch="static/,routes/" --unstable dev.ts
) I get auto refresh in the browser; however, if I launch it inside a docker container using the same command, I don't.Does anyone have any ideas why that would be, or how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions