Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jonathan Liuti
    @johnraz
    never had such an issue
    which version are you on ?
    Tom Erik Støwer
    @testower
    ah it was me being silly
    didn't set the Upgrade headers in nginx config
    is there a way to make all files in a certain path hot reloadable?
    Tom Erik Støwer
    @testower
    by default it doesn't seem to react in any way to any change at all?
    Tom Erik Støwer
    @testower
    I'm getting this frame OK
    {"type":"good","message":"🤘 Client connected. JSPM watching enabled"}
    but nothing else as I modify files
    A Coleman
    @AshCoolman
    Hi, I'm getting "Change to X cannot be handled gracefully" when attempting hotloading - has anyone had any experience with this? http://stackoverflow.com/questions/33911584/
    Jonathan Liuti
    @johnraz
    @testower did you disable caching in the browser ?
    (i know its 16 days later :p )
    Michael Fellinger
    @manveru
    @geelen i assume nobody is using jspm-server anymore?
    Glen Maddern
    @geelen
    i still do, but it's not being actively maintained
    that might change in January when my work scales back to part-tiem
    might piggy back on @jackfranklin's work instead
    Michael Fellinger
    @manveru
    any alternative until then?
    Glen Maddern
    @geelen
    well 1.0.1 is working much better for me but I think it's only on the latest version of JSPM
    Michael Fellinger
    @manveru
    I'm really struggling getting an acceptable workflow for react+css live|hot reloading going
    Glen Maddern
    @geelen
    but yeah take a look at what jack has done
    yeah, it's still very brittle
    Michael Fellinger
    @manveru
    i'll try it
    Glen Maddern
    @geelen
    yep
    Michael Fellinger
    @manveru
    is there some way to use that for css too?
    Glen Maddern
    @geelen
    not sure
    Shrulik
    @Shrulik
    jspm-hot-reloader also doesn't seem to be actively developed. @geelen, if I may ask, how do you use the jspm server for reloading on HTML file changes ?
    Jiri Spac
    @capaj
    @Shrulik I assure you it is actively developed. It is renamed to https://github.com/capaj/systemjs-hot-reloader but if you have any problems/feature requests add an issue-if it is worth fixing/implementing I will have a look and do it. CSS is not directly supported but some users were able to make it work.
    Shrulik
    @Shrulik
    Great to know. I have tried running the angular 1 example and I get an error ( Error: Super expression must either be null or a function, not object
    Error loading http://localhost:3000/jspm_packages/github/capaj/systemjs-hot-reloader@0.5.1.js ). This is after I ran a jspm update on systemhs-hor-reloader, but I had the same error before as well. Seems to be the same as this : capaj/systemjs-hot-reloader#42
    Shrulik
    @Shrulik
    So I fixed this by switching 'class HotReloader extends Emitter' to 'class HotReloader extends Emitter.default' . I'm not sure if this is a good solution, I still need to read more about this whole ES6 modules thing. I really shouldn't be writing code at 2 am.
    Fust Kilas
    @fustkilas
    @capaj i installed https://github.com/capaj/systemjs-hot-reloader with jspm. i want to start from scratch, with no frameworks or anything else. how do i run a live reload server?
    @geelen if you are here your thoughts appreciated
    Fust Kilas
    @fustkilas
    anyone?
    Glen Maddern
    @geelen
    i haven't used that one, sorry
    but it looks like it might be the future of live-reloading systemjs builds
    Jiri Spac
    @capaj
    @fustkilas you would need an event source. https://github.com/capaj/chokidar-socket-emitter is probably the only choice for that. If you have any troubles, check out the https://github.com/capaj/systemjs-hot-reloader#examples
    @geelen hopefully. There are still some issues to fix concerning error handling, but for the most part it does it's job rather well
    Glen Maddern
    @geelen
    it is a hard problem :)
    Fust Kilas
    @fustkilas
    did you mean to link to the sample projects? all of those use some sort of framework and i want to setup from scratch
    Jiri Spac
    @capaj
    @fustkilas I meant those just as an inspiration. If you have an express.js server for example, just require chokidar socket emitter, pass few options and you should be running and emitting.
    Fust Kilas
    @fustkilas
    @capaj what is your setup?
    Kurt Westerfeld
    @kwesterfeld
    I’m just getting into using jspm-dev-server. I have that running along with the the chokidar-socket-emitter, but I’m getting a mixed mode (http vs https) on chrome, so no joy. I’m clearly doing something wrong—is this a config option I have missed?
    Alex
    @whitecolor
    Hey guys who is intrested is hot-reloading with System.js, there is a nice alternative with alternative loader StealJs (wich also has good building/bundling capabilities). The example and demo of hot-reloading you can find here: https://github.com/whitecolor/can-hot
    reactjs hot-reloading works fine with https://github.com/tyscorp/react-transform-jspm-hmr works for it as well
    Kurt Westerfeld
    @kwesterfeld
    Using the systemjs-hot-reloader and jspm-dev-server, this was the trick, removing the protocol:
        if (location.origin.match(/localhost/)) {
            System.trace = true
            System.import('capaj/systemjs-hot-reloader').then(function(HotReloader){
                new HotReloader.default('//localhost:3000')  // chokidar-socket-emitter port
            })
        }
    Put some notes here: mikz/jspm-dev-server#1
    Te-jé Rodgers
    @mr-rodgers
    does this support proxying?
    Te-jé Rodgers
    @mr-rodgers
    oh nvm
    Etienne Brodu
    @etnbrd
    What is the difference between jspm-server and live-server ?
    Is jspm-server able to handle transpiled files ?