fix: make sure sass:watch command clears sass artefects before running to prevent stale style states

pull/2372/head
William Grant 3 years ago
parent 5b02d1e70e
commit 6bd75d26e9

@ -57,7 +57,7 @@
"sedtoAppImage": "sed -i 's/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/\"target\": \"AppImage\"/g' package.json", "sedtoAppImage": "sed -i 's/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/\"target\": \"AppImage\"/g' package.json",
"sedtoDeb": "sed -i 's/\"target\": \"AppImage\"/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/g' package.json", "sedtoDeb": "sed -i 's/\"target\": \"AppImage\"/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/g' package.json",
"sass": "rimraf 'dist' && parcel build --target sass --no-autoinstall", "sass": "rimraf 'dist' && parcel build --target sass --no-autoinstall",
"sass:watch": "parcel watch --target sass", "sass:watch": "rimraf 'dist' && parcel watch --target sass",
"parcel-util-worker": "rimraf ts/webworker/workers/util.worker.js && parcel build --target util-worker --no-autoinstall --no-cache" "parcel-util-worker": "rimraf ts/webworker/workers/util.worker.js && parcel build --target util-worker --no-autoinstall --no-cache"
}, },
"dependencies": { "dependencies": {

Loading…
Cancel
Save