Add "npm run watch" command to live reload changes

This commit is contained in:
Nate Butler
2022-04-04 12:14:00 -07:00
committed by Keith Simmons
parent 391aed3d66
commit c812adde7f
3 changed files with 2306 additions and 23 deletions
+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"
}
}