Compare commits

...

3 Commits

Author SHA1 Message Date
Lucien Greathouse
42107e0715 Update changes again, one day we'll release 0.4.0 2018-03-27 00:57:20 -07:00
Lucien Greathouse
ed183e0805 Update CHANGES, 0.4.0 2018-03-27 00:55:52 -07:00
Lucien Greathouse
116be16392 Improve error message when a partition target doesn't exist.
Closes #46
2018-03-27 00:50:44 -07:00
2 changed files with 13 additions and 5 deletions

View File

@@ -1,10 +1,15 @@
# Rojo Change Log
## Current Master (0.4.0)
## Current Master
*No changes*
## 0.4.0
* Protocol version 1, which shifts more responsibility onto the server
* This is a **major breaking** change!
* The server now has a content of 'filter plugins', which transform data at various stages in the pipeline
* The server now exposes Roblox instance objects instead of file contents, which lines up with how `rojo pack` will work, and paves the way for more robust syncing.
* Added `*.model.json` files, which let you embed small Roblox objects into your Rojo tree.
* Improved error messages in some cases ([#46](https://github.com/LPGhatguy/rojo/issues/46))
## 0.3.2
* Fixed `rojo serve` failing to correctly construct an absolute root path when passed as an argument

View File

@@ -78,11 +78,14 @@ impl VfsWatcher {
let (tx, rx) = mpsc::channel();
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(1))
.expect("Unable to create watcher!");
.expect("Unable to create watcher! This is a bug in Rojo.");
watcher
.watch(&root_path, RecursiveMode::Recursive)
.expect("Unable to watch path!");
match watcher.watch(&root_path, RecursiveMode::Recursive) {
Ok(_) => (),
Err(_) => {
panic!("Unable to watch partition {}, with path {}! Make sure that it's a file or directory.", partition_name, root_path.display());
},
}
watchers.push(watcher);