Commit 1cc3ad3 1 parent 96f266e commit 1cc3ad3 Copy full SHA for 1cc3ad3
File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1046,7 +1046,9 @@ impl Site {
1046
1046
None => return Ok ( ( ) ) ,
1047
1047
} ;
1048
1048
1049
- for ( feed, feed_filename) in feeds. into_iter ( ) . zip ( self . config . languages [ lang] . feed_filenames . iter ( ) ) {
1049
+ for ( feed, feed_filename) in
1050
+ feeds. into_iter ( ) . zip ( self . config . languages [ lang] . feed_filenames . iter ( ) )
1051
+ {
1050
1052
if let Some ( base) = base_path {
1051
1053
let mut components = Vec :: new ( ) ;
1052
1054
for component in base. components ( ) {
Original file line number Diff line number Diff line change @@ -82,6 +82,12 @@ pub fn filter_events(
82
82
}
83
83
let path = event. event . paths [ 0 ] . clone ( ) ;
84
84
85
+ // Since we debounce things, some files might already not exist anymore by the
86
+ // time we get to them
87
+ if !path. exists ( ) {
88
+ continue ;
89
+ }
90
+
85
91
if is_ignored_file ( ignored_content_globset, & path) {
86
92
continue ;
87
93
}
You can’t perform that action at this time.
0 commit comments