Add "npm run watch" command to live reload changes

This commit is contained in:
Nate Butler 2022-04-01 22:39:18 -04:00 committed by Keith Simmons
parent 391aed3d66
commit c812adde7f
3 changed files with 2306 additions and 23 deletions

6
styles/nodemon.json Normal file
View file

@ -0,0 +1,6 @@
{
"watch": ["./**/*"],
"ext": "ts",
"ignore": [],
"exec": "ts-node buildThemes.ts"
}

2317
styles/package-lock.json generated

File diff suppressed because it is too large Load diff

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"
}
}