npm live server configure to restart on file changes in non npm directory code example
Example 1: npm live-server
npm install -g live-server
Example 2: live-server command
live-server public --port=8090
npm install -g live-server
live-server public --port=8090