reload workspace

This commit is contained in:
zhandouxiaojiji committed 2020-12-04 10:46:55 +08:00
1 parent 74dc1c207d
commit 8c5e43b9e7
4 files changed
+14 -9

No files matched your search

-2
View File
@@ -2,8 +2,6 @@ import * as fs from 'fs';
import * as path from 'path';
import { BehaviorNodeModel, BehaviorTreeModel } from './BehaviorTreeModel';
export default (scriptPath: string, dirPath: string) => {
console.log("run script", scriptPath);
const str = fs.readFileSync(scriptPath, "utf8");
+3 -4
View File
@@ -1,16 +1,15 @@
export default {
OPEN_FILE: "OPEN_FILE",
OPEN_DIR: "OPEN_DIR",
OPEN_WORKSPACE: "OPEN_WORKSPACE",
RELOAD_SERVER: "RELOAD_SERVER",
BATCH_EXEC: "BATCH_EXEC",
CREATE_TREE: "CREATE_TREE",
CREATE_NODE: "CREATE_NODE",
DELETE_NODE: "DELETE_NODE",
COPY_NODE: "COPY_NODE",
PASTE_NODE: "PASTE_NODE",
SAVE: "SAVE",
SAVE_ALL: "SAVE_ALL",
RELOAD_SERVER: "RELOAD_SERVER",
SAVE: "SAVE",
UNDO: "UNDO",
REDO: "REDO",
BATCH_EXEC: "BATCH_EXEC",
};