diff --git a/package.json b/package.json index 0f67ee9..357e7ce 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,9 @@ "author": "Jalil Arfaoui ", "license": "MIT", "scripts": { - "dev": "eleventy --serve", - "build": "eleventy" + "clean": "rm -rf _site", + "dev": "yarn clean && eleventy --serve", + "build": "yarn clean && eleventy" }, "devDependencies": { "@11ty/eleventy": "^1.0.1",