Add "npm run watch" command to live reload changes

This commit is contained in:
Nate Butler authored and Keith Simmons committed 2022-04-04 12:14:00 -07:00
1 parent 391aed3d66
commit c812adde7f
3 files changed
+2306 -23

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{
"watch": ["./**/*"],
"ext": "ts",
"ignore": [],
"exec": "ts-node buildThemes.ts"
}
+2295 -22
View File
File diff suppressed because it is too large. Load diff
+5 -1
View File
@@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "ts-node buildThemes.ts"
"build": "ts-node buildThemes.ts",
"watch": "nodemon"
},
"author": "",
"license": "ISC",
@@ -14,5 +15,8 @@
"case-anything": "^2.1.10",
"chroma-js": "^2.4.2",
"ts-node": "^10.7.0"
},
"devDependencies": {
"nodemon": "^2.0.15"
}
}