Code Monkey home page Code Monkey logo

Comments (6)

letanure avatar letanure commented on July 17, 2024

👍

from gulp-webserver.

davejlong avatar davejlong commented on July 17, 2024

@reintroducing It's best practices, when reporting issues to create 1 issue per Issue. So you have 2 issues now:

  1. Support manually reloading contents, like in gulp-connect
  2. Support partial reload, like from Grunt

I'll take a look at the source of gulp-connect and see if I can implement manually reloading, like gulp-connect had.

from gulp-webserver.

mhoyer avatar mhoyer commented on July 17, 2024

Regarding this point 1. Support manually reloading contents, like in gulp-connect, this was already clarified with #13. But I am still not happy with the advice by @schickling to move compiled files to different folders. This seems not be valid for all scenarios. Thus, a manual reload() seems to help some of us.

from gulp-webserver.

davejlong avatar davejlong commented on July 17, 2024

@schickling looking into the configuration, I'd propose the following changes to support manually reloading in livereload.

  1. Add configuration to livereload property to set it to it to manual reload or automatic (automatic by default)
  2. Change the API of gulp-webserver to export the webserver object as well as a reload method, like in gulp-connect.

I'm not sure if the change for point 2 will require breaking backwards compatibility or if I can add the reload method onto the already exported webserver.

from gulp-webserver.

schickling avatar schickling commented on July 17, 2024
  1. Seems good!
  2. Setting a object property should do the trick, like webserver.reload()

from gulp-webserver.

andymerskin avatar andymerskin commented on July 17, 2024

👍 Yes please! :)

from gulp-webserver.

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.