Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sean
    @ip2k
    hey all, I'm trying to use puer on my page that makes AJAX calls, but the --target switch isn't doing what I expect

    I'm running:
    /code
    puer --target http://0:4567 --no-launch

    and I expect it to proxy requests to my machine on port 4567

    instead, it's still serving 404s
    ZhengHaibo
    @leeluolee

    @ip2k try "puer -t http://127.0.0.1:4567 --no-launch" again? (short flag)

    some logic error may exsit in my command parser

    Ankur Patel
    @ankurp
    Hi what is the difference between this and livereload?
    ZhengHaibo
    @leeluolee

    @ankurp
    I haven't use livereload yet, but I used puer as personal tool more that 2.5years, I visit the livereload.com. I think the difference is.
    Puer is Dead Simple . there is not processor support(Maybe provide in next version), no gui and no charge :). But Puer provide some feature, like:

    1. nearly zero configuration cd path/to/dir & puer is enough
    2. mock request, interated inspect, qrCode generation, proxy mode
    3. the livereload feature is the keypoint but not the 'all' in common front-end development

    to be honest, puer is 'weak' now, if you have good idea, feel free to open issues .
    Hope the answer useful for you。

    Ankur Patel
    @ankurp
    I see thanks
    Tarkus
    @tarkus
    plugin system!
    ZhengHaibo
    @leeluolee
    @tarkus putting on agenda
    Jeffrey Ling
    @jeffling
    @leeluolee hey, are there any events that are emitted during live reload?
    When working on single-page app, sometimes we don't want to do a force refresh. We might just want to reload a route instead inside the SPA framework
    ZhengHaibo
    @leeluolee
    I publish 1.0.9,and add a puer namespace in global, see https://github.com/leeluolee/puer#client-event for detail. if it is still unable to meet you need , feel free to open a issue
    Jeffrey Ling
    @jeffling
    thanks :)