mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Decrease debounce timeout, which will make polling much snappier
This commit is contained in:
parent
ce5fe00a66
commit
f215df891c
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# Rojo Change Log
|
# Rojo Change Log
|
||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
* Fixed server to notice file changes *much* more quickly. (200ms vs 1000ms)
|
||||||
* Rojo now throws an error if no project file is found. ([#63](https://github.com/LPGhatguy/rojo/issues/63))
|
* Rojo now throws an error if no project file is found. ([#63](https://github.com/LPGhatguy/rojo/issues/63))
|
||||||
* Fixed multiple sync operations occuring at the same time. ([#61](https://github.com/LPGhatguy/rojo/issues/61))
|
* Fixed multiple sync operations occuring at the same time. ([#61](https://github.com/LPGhatguy/rojo/issues/61))
|
||||||
* Partitions targeting files directly now work as expected. ([#57](https://github.com/LPGhatguy/rojo/issues/57))
|
* Partitions targeting files directly now work as expected. ([#57](https://github.com/LPGhatguy/rojo/issues/57))
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ impl VfsWatcher {
|
||||||
for (ref partition_name, ref root_path) in vfs.get_partitions() {
|
for (ref partition_name, ref root_path) in vfs.get_partitions() {
|
||||||
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_millis(200))
|
||||||
.expect("Unable to create watcher! This is a bug in Rojo.");
|
.expect("Unable to create watcher! This is a bug in Rojo.");
|
||||||
|
|
||||||
match watcher.watch(&root_path, RecursiveMode::Recursive) {
|
match watcher.watch(&root_path, RecursiveMode::Recursive) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue