Answers for "browser sync for linux"

0

browser sync for linux

# To add broswser-sync into sublime text linux/ubuntu machine follow this steps.
sudo apt-get remove nodejs npm #to remove existing node package.
curl -sL https://deb.nodesource.com/setup_8.x 116 | sudo -E bash -
sudo apt-get update && sudo apt-get install yarn
sudo apt-get install -y nodejs
node -v # to check the version of installed node package
npm install -g browser-sync # to install browser-sync package.
browser-sync start --server --files "*.html, css/*.css,*js,js/*.js" # it will run current directory files into default browser
Posted by: Guest on January-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language