···17171818 for tag in &event.tags {
1919 if let Tag::Path { path, file_type: _ } = tag {
2020+ // TODO: Customizable dist path
2021 if path.ancestors().any(|p| p.ends_with("dist")) {
2222+ result = false;
2323+ break;
2424+ }
2525+2626+ if path.ancestors().any(|p| p.ends_with("target")) {
2127 result = false;
2228 break;
2329 }
+2
crates/cli/src/dev/server.rs
···196196 &socket_addr.port().to_string()
197197 ),
198198 );
199199+200200+ // TODO: Handle HTML documents with no tags, e.g. `"Hello, world"`. Appending a raw script tag will cause it to show up as text.
199201 body.push_str(&format!("<script>{script_content}</script>"));
200202201203 // Copy the headers from the original response