mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 07:06:12 +00:00
Add further logging in verbose mode
This commit is contained in:
@@ -173,6 +173,10 @@ impl Vfs {
|
|||||||
|
|
||||||
match self.plugin_chain.handle_file_change(&route) {
|
match self.plugin_chain.handle_file_change(&route) {
|
||||||
Some(routes) => {
|
Some(routes) => {
|
||||||
|
if self.config.verbose {
|
||||||
|
println!("Adding changes from plugin: {:?}", routes);
|
||||||
|
}
|
||||||
|
|
||||||
for route in routes {
|
for route in routes {
|
||||||
self.change_history.push(VfsChange {
|
self.change_history.push(VfsChange {
|
||||||
timestamp,
|
timestamp,
|
||||||
|
|||||||
@@ -169,6 +169,11 @@ pub fn start(config: Config, project: Project, plugin_chain: &'static PluginChai
|
|||||||
})
|
})
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
|
if config.verbose {
|
||||||
|
println!("Got read request: {:?}", read_request);
|
||||||
|
println!("Responding with:\n\t{:?}", rbx_items);
|
||||||
|
}
|
||||||
|
|
||||||
json(ReadResult {
|
json(ReadResult {
|
||||||
server_id: &server_id,
|
server_id: &server_id,
|
||||||
items: rbx_items,
|
items: rbx_items,
|
||||||
|
|||||||
Reference in New Issue
Block a user