mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Mark init.meta.json as relevant path for directories
This commit is contained in:
parent
1c6c1298d5
commit
db23c3d35a
8 changed files with 10 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ impl SnapshotMiddleware for SnapshotDir {
|
|||
snapshot_id: None,
|
||||
metadata: InstanceMetadata {
|
||||
instigating_source: Some(entry.path().to_path_buf().into()),
|
||||
relevant_paths: vec![entry.path().to_path_buf()],
|
||||
relevant_paths: vec![entry.path().to_path_buf(), meta_path.clone()],
|
||||
..Default::default()
|
||||
},
|
||||
name: Cow::Owned(instance_name),
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ metadata:
|
|||
Path: /foo
|
||||
relevant_paths:
|
||||
- /foo
|
||||
- /foo/init.meta.json
|
||||
name: foo
|
||||
class_name: Folder
|
||||
properties: {}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ metadata:
|
|||
Path: /foo
|
||||
relevant_paths:
|
||||
- /foo
|
||||
- /foo/init.meta.json
|
||||
name: foo
|
||||
class_name: Folder
|
||||
properties: {}
|
||||
|
|
@ -20,6 +21,7 @@ children:
|
|||
Path: /foo/Child
|
||||
relevant_paths:
|
||||
- /foo/Child
|
||||
- /foo/Child/init.meta.json
|
||||
name: Child
|
||||
class_name: Folder
|
||||
properties: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue