Skip to content

watch package.json changes and execute cmd "npm install"

Notifications You must be signed in to change notification settings

lling1105/package-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package-watcher

watch package.json changes and execute cmd "npm install"

Why this?

Jenkins server to run 'npm install' and then copy to target server is very slow and inefficient, so this solution is running an node.js app as watcher on app server, once the project package.json add or changed will trigger the 'npm install'

How to use?

Add your local project's package.json full path to watch-list.js file, that's it.

For now only support windows host

About

watch package.json changes and execute cmd "npm install"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published