Allow custom folders to be watched by Remix compiler. #2074
andresgutgon
started this conversation in
Proposals
Replies: 1 comment 17 replies
-
Checkout #1193 and especially this comment for a working patch, which allows you to set custom paths for watching. |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What?
Hi, I'm doing a npm package and I wanted to have in my repo a Remix app to try my code. I wanted to do changes in my packages and view the changes in my remix example app.
The way I have setup my repo is like this. Is a Rush monorepo.
So when I do a change in
packages/core/src/index.ts
it's compiled inpackages/core/dist/index.js
✅Also if I inspect
examples/basic/node_modules/@my-packages/core/dist/index.js
I see the change ✅But when I use the code in a Remix route like this:
I don't see the function
hello
result updated. This is jus a dummy method💡 So the idea
What If we could pass a custom folder in remix config to be watched. This would be super helpful for people developing
node
packages to be the changes reflected. I this it would be possible passing the option to Remix compiler.I think here is where watching is happening in Remix compiler
MAYBE IS MORE SIMPLE
Please let me know if watching for changes in a Remix App
node_modules
folder is easier than this and I'm missing something.Beta Was this translation helpful? Give feedback.
All reactions