server - How do you close old instances of BrowserSync when stopping in Terminal? -


operating system: windows terminal: git bash

this current bs-config.js file looks like.

module.exports = {  "ui": {     "port": 4000 }, "port": 4000, "server": {     "routes": {         "/node_modules": "node_modules"     } }, "middleware": [jsonplaceholderproxy], "https": true, "watch": true, "files": "*.*" }; 

my package.json has "browser-sync": "^2.18.5" , after run command browser-sync start --config bs-config.js press control-c close it, port still running. when re-run it, starts on next port. 4012 , want on 4000. current solutions found either using netstat , finding pid , closing port or restarting computer. suggestions?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -