Chokidar Integration for .env File Monitoring in Effect Workflow
[SOLVED]
File Monitoring Question
I'm using
It works.
I'm now just wondering where in my effect workflow should I add this task?
I have
In the
And below of it:
So can I just Layer.mergeAll the AppLive with a ConfigLive and put the chokidar code inside the ConfigLive in a Effect.gen?

File Monitoring Question
I'm using
chokidar to monitor .env file change, so the code restarts and check if there's a env variable missing (ConfigError).It works.
I'm now just wondering where in my effect workflow should I add this task?
I have
In the
src/main.ts.And below of it:
So can I just Layer.mergeAll the AppLive with a ConfigLive and put the chokidar code inside the ConfigLive in a Effect.gen?
