These are chat archives for systemjs/systemjs

28th
Dec 2015
Peter Uithoven
@peteruithoven
Dec 28 2015 00:23 UTC
@alexisvincent Seeing so many people (still) using webpack I'm curious why you're trying to switch?
Peter Müller
@Munter
Dec 28 2015 03:06 UTC
If your CSS is included in the page using a link tag then you don't need to reimplement CSS hot reloading yourself. Just use whatever is out there already
I am using the Livestyle package for that
λex Vincent
@alexisvincent
Dec 28 2015 08:58 UTC
@peteruithoven Ive been meaning to switch over to System for a while now. But webpack has a strong ecosystem and the tools are particulary helpful. But Ive managed to get live reload working for scss and js. Its a bit hacky. But untill I have time to contribute a better fix thats how its gonig to be. We’re releasing a product in 17 days… So its full steam ahead.
@Munter Hows your filesystem build tool progressing?
Peter Müller
@Munter
Dec 28 2015 09:00 UTC
@alexisvincent it's working. There is one big that I have a hard time fixing, but it's an extremely rare use case
λex Vincent
@alexisvincent
Dec 28 2015 09:01 UTC
Whats it called again? Also, would you still say that the problem is the right one?
Peter Müller
@Munter
Dec 28 2015 09:01 UTC
Progress not so much though. I became a dad 8 weeks ago and we went through a mass job elimination at work with me as a negotiator. Haven't touched a line of code in my spare time
It's called fusile. GitHub.com/munter/fusile
I think I hit the jackpot on the right abstraction for the problem
λex Vincent
@alexisvincent
Dec 28 2015 09:04 UTC
Congratulations! Boy/Girl? Man, thats tough. I’m sorry.
Peter Müller
@Munter
Dec 28 2015 09:06 UTC
Girl, and she's healthy, beautiful and happy. I'm over the moon about her :)
The job stuff, not so nice. Got a few stress symptoms from trying to handle everyone's cases. I'll be looking for a job as well
λex Vincent
@alexisvincent
Dec 28 2015 09:08 UTC
:D Thats really exciting :) Im happy for you man :)
You too?
Peter Müller
@Munter
Dec 28 2015 09:09 UTC
It won't be hard finding one. It's mostly about finding the right one in the options I have. Also my time line is long enough that I'm not desperate
λex Vincent
@alexisvincent
Dec 28 2015 09:11 UTC
Ah :) Good position then. But still, Im sorry.
So I notice you pace the linter after the transpile process...
place
Will file change events fire on the fuse fs?
Peter Müller
@Munter
Dec 28 2015 09:15 UTC
You have to enable file change events. Details in the readme. It's a bit brittle, since it essentially means you are adding double the inode listeners
If you have a live reloader that can watch source files that will be quicker and have half the inode listeners
λex Vincent
@alexisvincent
Dec 28 2015 09:16 UTC
Should we move this conversation to the fusile gitter chat?
Peter Müller
@Munter
Dec 28 2015 09:19 UTC
I don't mind the promotion of people in here don't mind the noise :)
λex Vincent
@alexisvincent
Dec 28 2015 09:19 UTC
xD Ok. So if Im listening on src, should I add a debounce?
Also. And I know you explained your thoughts to be before, but why is the filesystem a (specifically fuse) a better abstraction then other build pipelines
Peter Müller
@Munter
Dec 28 2015 09:22 UTC
The abstraction results in a much simpler tool that requires almost no configuration, is simple and let's you use transpilers without having to buy into an ecosystem lock in
I don't think a denounce is needed. It's a simple flow. Trigger file update, tell the browser about it, browser requests file, hits fusile, fusile sees the mtime differ and retranspiles
There might be a timing issue if transpiling is much slower than the delta between file updates. I don't remember how that would be handled
λex Vincent
@alexisvincent
Dec 28 2015 09:35 UTC
oh I see, thats nice. And how are transforms handled
Peter Müller
@Munter
Dec 28 2015 09:49 UTC
@alexisvincent Which transforms?
λex Vincent
@alexisvincent
Dec 28 2015 09:49 UTC
js, scss, babel, custom
Peter Müller
@Munter
Dec 28 2015 09:51 UTC
ah, right. It's a simple pipeline, similar to what would be inside a gulp set up https://github.com/Munter/tolk/blob/master/lib/tolk.js#L103-L115
λex Vincent
@alexisvincent
Dec 28 2015 13:52 UTC
ah :) i see