nodemon
$ npm install nodemon --save-dev
$ nodemon -L --watch 監視したいフォルダ --ext 監視したいファイルの拡張子(CSV) --exec \"実行するnpmコマンド\"
package.json
{
"name": "myproject",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "nodejs build.js",
"watch": "nodemon -L --watch src --ext js,css,html --exec \"npm run build\""
},
"author": "",
"license": "ISC",
"devDependencies": {
"nodemon": "^3.1.9"
}
}