Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor UI util bug fix (#2098)

Rich Turner7beb7c5e387a
diff --git a/ui/util/cli.js b/ui/util/cli.js
index a4371cf38..8434618c3 100755
--- a/ui/util/cli.js
+++ b/ui/util/cli.js
@@ -29,7 +29,7 @@ function getGradleDirectory() {
if (process.argv.length >= 3 && process.argv[2] =="watch") {
// Do watch
- let cwd = getWorkingDirectory();
+ let cwd = getGradleDirectory();
console.log("Watching model for changes...");
const child = spawn((process.platform === "win32" ? "gradlew" : "./gradlew"), ["-t", "modelWatch"], {
cwd: cwd,