browser-sync start -server -files "css/*.css" Dynamic sites Browsersync will start a mini-server and provide a URL to view your site. html files, you’ll need to use the server mode. Navigate your terminal window to a project and run the appropriate command: Static sites You’re telling the package manager to download the Browsersync files and install them globally so they’re available to all your projects.Ī basic use is to watch all CSS files in the css directory and update connected browsers if a change occurs. Open a terminal window and run the following command: npm install -g browser-sync The Node.js package manager (npm) is used to install Browsersync from a repository. There are convenient installers for MacOS, Windows and Linux. Browsersync is a module for Node.js, a platform for fast network applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |