Replies: 4 comments
-
Similar request, but I would like to be able to ignore changes to test files. |
Beta Was this translation helpful? Give feedback.
-
i am also using SCSS and compiling to CSS during dev via i have the same double-build problem, except that i have also observed that a significant portion of the time, the CSS changes aren’t actually picked up in the latest build and i have to trigger another save to get it to show up. it makes for a challenging dev experience when writing CSS (lots of “why didn’t my style changes work? did i mess up a selector, or maybe they’re being overridden, or i messed up the decls…? oh right, they didn’t actually get updated in the browser”). the existing configuration options are so close: |
Beta Was this translation helpful? Give feedback.
-
What would be useful, is something like watchPaths: ['../../libs/*/src'], Other projects within the nx monorepo are using watchman, and it works very well. My editor (neovim) is also using watchman, so besides the remix project(s) within the monorepo, there's a somewhat universal watching mechanism using a local I went to bump up this discussion and noticed I was here before... many months ago. bump bump! 😄 With some digging, looks like remix is using chokidar watching library: While unused by remix, chokidar has an |
Beta Was this translation helpful? Give feedback.
-
using vite, you can use
|
Beta Was this translation helpful? Give feedback.
-
I'm running sass in watch mode in parallel with
remix watch
to build my scss files into a few main CSS files.I want to keep my scss files next to my components, but unfortunately this means every time I change a style, remix rebuilds twice, increasing response time quite a bit (especially if I make many changes in a row).
It would be nice to have a way to ignore certain files (like .scss) from rebuilding the project.
Even better would be a way to run the remix builder programmatically, and have my own watcher that calls remix build without all the startup overhead, as I want to fine tune debouncing further. (Is this currently possible?)
Beta Was this translation helpful? Give feedback.
All reactions