diff --git a/apps/remix-ide/src/app/tabs/script-runner-ui.tsx b/apps/remix-ide/src/app/tabs/script-runner-ui.tsx index bf29df6d89..2aad6be73e 100644 --- a/apps/remix-ide/src/app/tabs/script-runner-ui.tsx +++ b/apps/remix-ide/src/app/tabs/script-runner-ui.tsx @@ -45,7 +45,7 @@ export class ScriptRunnerUIPlugin extends ViewPlugin { url = testPluginUrl }else{ baseUrl = `//${new URL(testPluginUrl).host}` - url = `${baseUrl}?template=${name}` + url = `${baseUrl}?template=${name}×tamp=${Date.now()}` } } diff --git a/libs/remix-ui/scriptrunner/src/lib/script-runner-ui.tsx b/libs/remix-ui/scriptrunner/src/lib/script-runner-ui.tsx index 5fe5ad0bf4..b7af4a207c 100644 --- a/libs/remix-ui/scriptrunner/src/lib/script-runner-ui.tsx +++ b/libs/remix-ui/scriptrunner/src/lib/script-runner-ui.tsx @@ -24,7 +24,7 @@ export const ScriptRunnerUI = (props: ScriptRunnerUIProps) => { // Fetch the JSON data from the localhost server using Axios const fetchData = async () => { try { - const response = await axios.get('http://localhost:3000/projects.json'); + const response = await axios.get('http://localhost:3000/projects.json?timestamp=' + Date.now()); setConfigurations(response.data); } catch (error) { console.error("Error fetching the projects data:", error);