Compare commits

..

6 Commits

Author SHA1 Message Date
Lucien Greathouse
13925f5879 Publish 0.3.2 2017-12-20 22:41:23 -08:00
Lucien Greathouse
2e340ff78c Merge pull request #22 from Quenty/fix-21-high-cpu
Fix #21: High CPU usage in a small project
2017-12-17 21:42:21 -08:00
James Onnen
5a20646c57 Address code review, remove unnecessary import 2017-12-17 23:40:32 -06:00
James Onnen
199ebda689 Use ::park() instead of ::sleep() 2017-12-17 14:34:31 -06:00
James Onnen
ae6ca6fb23 Fix #21: High CPU usage in a small project 2017-12-17 14:20:24 -06:00
Lucien Greathouse
b4e31ea35d Fix serve path failing to be absolute when given as a relative path 2017-12-14 01:09:10 -08:00
5 changed files with 13 additions and 6 deletions

View File

@@ -1,7 +1,10 @@
# Rojo Change Log
## Current Master
* *No changes*
* No changes
## 0.3.2
* Fixed `rojo serve` failing to correctly construct an absolute root path when passed as an argument
## 0.3.1
* Improved error reporting when invalid JSON is found in a `rojo.json` project

2
Cargo.lock generated
View File

@@ -517,7 +517,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "rojo"
version = "0.3.1"
version = "0.3.2"
dependencies = [
"clap 2.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
"notify 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@@ -1,6 +1,6 @@
[package]
name = "rojo"
version = "0.3.1"
version = "0.3.2"
authors = ["Lucien Greathouse <me@lpghatguy.com>"]
description = "A tool to create robust Roblox projects"
license = "MIT"

View File

@@ -85,7 +85,7 @@ fn main() {
let sub_matches = sub_matches.unwrap();
let project_path = match sub_matches.value_of("PROJECT") {
Some(v) => PathBuf::from(v),
Some(v) => canonicalish(PathBuf::from(v)),
None => std::env::current_dir().unwrap(),
};
@@ -193,7 +193,9 @@ fn main() {
println!("Server listening on port {}", port);
loop {}
loop {
thread::park();
}
},
("pack", _) => {
eprintln!("'rojo pack' is not yet implemented!");

View File

@@ -92,6 +92,8 @@ impl VfsWatcher {
}
}
loop {}
loop {
thread::park();
}
}
}