I'm using Sass in my dart project and build the scss files to css using a transformer. The scss files can import other files so when a scss file is changed all scss files that import the changed file also have to be updated. Currently I run the touch
cmd to trigger an update on the other files but this causes issues with text editors thinking the file data has changed. Is there a way to trigger pub
to rebuild specific files?
Asked
Active
Viewed 104 times
0

Günter Zöchbauer
- 623,577
- 216
- 2,003
- 1,567

Zachary Huff
- 16
- 1
- 1
1 Answers
0
I'm pretty sure there isn't. You can only build all at once or on demand by pub serve
but pub serve
doesn't actually create files. SASS can be started as a service to watch for file changes (instead of using the transformer) maybe this route it's easier to get what you want.

Günter Zöchbauer
- 623,577
- 216
- 2,003
- 1,567