GithubHelp home page GithubHelp logo

Comments (6)

wsmd avatar wsmd commented on July 20, 2024

+1 👍

from lite-server.

festen avatar festen commented on July 20, 2024

+1

from lite-server.

johnpapa avatar johnpapa commented on July 20, 2024

considering if we should expose each option in browsersync OR create an rc.config file that lite-server looks at to start up. thoughts?

I'm leaning towards the rc file.

from lite-server.

vikeen avatar vikeen commented on July 20, 2024

Doing an .rc file and explaining in the documentation that it links to the browser-sync configuration is good by me.

from lite-server.

EricLease avatar EricLease commented on July 20, 2024

I had seen this github issue when trying to come up with a solution for this question I posted on SO. To say I'm not active in the open source community would be an understatement. I'm just commenting here because I just addressed this issue (locally only) for the browser option used by browser-sync. I don't really care if an .rc is used or not, but you might want to consider the fact that the Angular 2 team is using lite-server in it's demo, and certain precedents are being established by default for people using that quick start guide (I would speculate that number is growing rapidly).

Examples:

  1. --open is consumed and altered by lite-server before reaching browser-sync as part of the startPath, can cause a conflation with browser-sync's open option.
  2. Some options, such as port are being passed through unchanged to browser-sync, as the same option name

from lite-server.

johnpapa avatar johnpapa commented on July 20, 2024

Version 2.0 has been published. New API that follows the exact bs-config.js format for all overrides.

from lite-server.

Related Issues (20)

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.