Giter Site home page Giter Site logo

jamesjsewell / basic_browser_sync Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

uses browser-sync to watch files for changes that you make to files in the project while you code and updates those files in the browser

HTML 22.15% JavaScript 72.41% CSS 5.43%

basic_browser_sync's Introduction

browser-sync setup

basic webapp

  1. git clone https://github.com/jamesjsewell/basic_browser_sync.git your_project_name change your_project_name to the actual name of the project

  2. cd your_project_name

  3. git remote remove origin

  4. create a new github repository for your project, take the .git url of the new repository and use it in this command git remote add origin https://github.com/jamesjsewell/your_project_name.git again, ^ that github link is just a placeholder, use the link from your new repo

  5. git add .

  6. git commit -m "your commit message"

  7. git push origin master

  • npm install
  • npm run start

if you decide to use this example for your project, and you need more than just a basic webpage, or you want to use a different folder structure: you'll need to edit the browser_sync_config.js file. It's commented to make it easier to understand how it works. Basically just add and edit paths so that browser-sync will watch the files that you need it to watch. Also you may want to go to the bottom of the file and change the path that the server is using.

basic_browser_sync's People

Contributors

jamesjsewell avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.