3 ms·
If you give a lambda to cargo-watch instead of a regexp, it has to be evaluated. Hence interpreter.
by tempodox 2y ago
If you give a lambda to cargo-watch instead of a regexp, it has to be evaluated. Hence interpreter.
- rowanG077 2y agoWhy would you evaluate it using an interpreter? Since you are using it in the context of a rust lambda you compile it. You just have a rust file that calls cargo-watch as a library. Crafting an interpreter seems like an incredibly bad idea.
- mirashii 2y agoBut now you have to know at compile time what you're watching, which is not what cargo-watch or any of the similar commands like entr do.