Skip to content

Commit

Permalink
fix: specify cacheRoot for rebuilds (#191)
Browse files Browse the repository at this point in the history
Sets the 'cacheRoot' of 'theia rebuild' to the root directory as is
done in the Theia repository. This is needed so that 'theia rebuild' is
able to appropriatly determine the state of the native builds.

fixes #190
  • Loading branch information
sdirix authored Jan 5, 2024
1 parent 56ae5b9 commit 0cebfc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/app-browser-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"bundle": "yarn rebuild && theia build --mode development",
"rebuild": "theia rebuild:browser",
"rebuild": "theia rebuild:browser --cacheRoot ..",
"start": "theia start",
"watch": "yarn rebuild && theia build --watch --mode development"
},
Expand Down
2 changes: 1 addition & 1 deletion templates/app-electron-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"scripts": {
"bundle": "yarn rebuild && theia build --mode development",
"rebuild": "theia rebuild:electron",
"rebuild": "theia rebuild:electron --cacheRoot ..",
"start": "theia start",
"watch": "yarn rebuild && theia build --watch --mode development"
},
Expand Down

0 comments on commit 0cebfc3

Please sign in to comment.