From ace0c6ac3f11e860c1c7a6c3408534cd2c67528c Mon Sep 17 00:00:00 2001 From: Vidhyadharan Deivamani Date: Mon, 10 Apr 2023 06:46:35 +0530 Subject: [PATCH] Added postcommand for codespaces --- .devcontainer/devcontainer.json | 2 +- content/posts/har-create-export-import/index.en.md | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a16aa8e..d35215b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -41,7 +41,7 @@ "updateContentCommand": "git config --global --add safe.directory /workspaces/my-useful-commands && rm -rf public", // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "hugo", + "postCreateCommand": "git submodule init && git submodule update --remote && hugo", // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "node", diff --git a/content/posts/har-create-export-import/index.en.md b/content/posts/har-create-export-import/index.en.md index 28bb15c..c9d07e6 100644 --- a/content/posts/har-create-export-import/index.en.md +++ b/content/posts/har-create-export-import/index.en.md @@ -97,7 +97,4 @@ To generate a HAR file, you need to use your browser's developer tools. Here are In summary, HAR files are a powerful tool for optimizing website performance. By generating and analyzing them, developers can identify and fix issues, resulting in faster page load times and improved user experience. -Use HAR files to ensure your website performs at its best. - - - +Use HAR files to ensure your website performs at its best. \ No newline at end of file