- Migrate Gradle tutorial to tutorial kit section (not as an interactive tutorial) - remove `npx` from online tutorial instructions - Update sidebar tutorial links to point to new tutorials --------- Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
14 lines
696 B
Diff
14 lines
696 B
Diff
diff --git a/dist/store/tutorial-runner.js b/dist/store/tutorial-runner.js
|
|
index e25390633cf7e196cf4a21622458caa23fe2182d..77a8b3fd6ba60e37837b8e6f052b11d9ad3e0835 100644
|
|
--- a/dist/store/tutorial-runner.js
|
|
+++ b/dist/store/tutorial-runner.js
|
|
@@ -539,7 +539,7 @@ function commandsToList(commands) {
|
|
async function updateFiles(webcontainer, previousFiles, newFiles) {
|
|
const { removed, addedOrModified } = diffFiles(previousFiles, newFiles);
|
|
for (const filePath of removed) {
|
|
- await webcontainer.fs.rm(filePath, { force: true });
|
|
+ await webcontainer.fs.rm(filePath, { force: true, recursive: true });
|
|
}
|
|
await webcontainer.mount(toFileTree(addedOrModified));
|
|
}
|