Replies: 2 comments 1 reply
-
Any ideas? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is thaT server folder inside the app folder? If not, you should add it to watchPaths in your remix.config https://remix.run/docs/en/1.18.1/file-conventions/remix-config#watchpaths |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm following a modular DDD approach in my Remix project (Currently version 1.15.0).
I extract all the backend logic into Commands and Queries, which are then exposed through a mediator pattern in a file called register.server.ts (Everything lies inside the
server
folder)See:
Everything works. The only problem is that every time I make a change in development while I have the dev build server running, it doesn't detect any changes.
Additionally, there are times in which I need to run
dev:build
andbuild
manually to detect the changes.Why is that?
I can't find any documentation whatsoever, and appending the files with
.server.ts
makes no difference.Here's my package.json:
remix.config.js
Beta Was this translation helpful? Give feedback.
All reactions