use watch instead of watchFile
move watch file to db.js