mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-22 21:55:15 +00:00
Compare commits
3 Commits
v0.4.0-pre
...
v0.4.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42107e0715 | ||
|
|
ed183e0805 | ||
|
|
116be16392 |
@@ -1,10 +1,15 @@
|
|||||||
# Rojo Change Log
|
# 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
|
* Protocol version 1, which shifts more responsibility onto the server
|
||||||
* This is a **major breaking** change!
|
* 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 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.
|
* 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
|
## 0.3.2
|
||||||
* Fixed `rojo serve` failing to correctly construct an absolute root path when passed as an argument
|
* Fixed `rojo serve` failing to correctly construct an absolute root path when passed as an argument
|
||||||
|
|||||||
@@ -78,11 +78,14 @@ impl VfsWatcher {
|
|||||||
let (tx, rx) = mpsc::channel();
|
let (tx, rx) = mpsc::channel();
|
||||||
|
|
||||||
let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(1))
|
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
|
match watcher.watch(&root_path, RecursiveMode::Recursive) {
|
||||||
.watch(&root_path, RecursiveMode::Recursive)
|
Ok(_) => (),
|
||||||
.expect("Unable to watch path!");
|
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);
|
watchers.push(watcher);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user