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
Post a Comment