UNPKG
watch_reapp
Version:
latest (1.1.9)
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.10
1.0.9
1.0.8
1.0.6
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Restarts your nodejs app when you save a file in your specified directory.
watch_reapp
/
_example_W.js
3 lines
•
165 B
JavaScript
View Raw
1
2
3
const
watch_reapp =
require
(
'./watch_reapp'
)
//run module, with path to app you wish to run and add the config object as second parameter
watch_reapp
(
'./_TEST.js'
)