Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Ignore Everything But The src Directory With Cargo Watch

If you try to use [TODO: Code shorthand span ] with this setting it won't work. It doesn't pick the source directory back up

I'm working on the rebuild of my site. My test output is going into a [TODO: Code shorthand span ] directory next to the [TODO: Code shorthand span ] directory. This causes an issue with [TODO: Code shorthand span ] where it gets stuck in a loop every time I build the site. (It sees a change in the directory then reruns the process.)

Passing [TODO: Code shorthand span ] flags to [TODO: Code shorthand span ] is one solution. It would be tedious. Instead, I put a [TODO: Code shorthand span ] file in the root of the project with this in it :

*
!src

That ignores everything with the [TODO: Code shorthand span ] , but allows the [TODO: Code shorthand span ] directory via the [TODO: Code shorthand span ] line. Combined that lets me edit anything outside the [TODO: Code shorthand span ] directory without triggering [TODO: Code shorthand span ] .

Only run cargo watch when you want it to go