-
-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Hello, thanks for your work on this invaluable tool. A quick question, I am currently using a Rust-based lambda for an axum server that does several things, as well as serving some static web content.
So say I have some non rust content (maybe some HTML, CSS or JS) in my lambda function, that I do not want to trigger a rebuild of my function. To see these changes I might just need to refresh my browser.
Is there a way to ignore certain directories like you would in a .gitignore? I was looking in the watch crate: https://github.com/cargo-lambda/cargo-lambda/blob/6431f905f33e65ac85f33ae6dbe9d5276138e3fe/crates/cargo-lambda-watch/src/watcher/ignore.rs#L14C1-L14C88
How does the CARGO_LAMBDA_IGNORE_FILES env variable work? Can I provide something directly in this variable like **/static? Or do I need to point this to a file like .cargolambdaignore that contains a line like **/static?
Both scenarios do not seem to be working. I tried looking in the ignore and ignore-files` crates and it was not immediately clear how this is supposed to work.