Matteo Collina
Matteo Collina
@bnb what @bmeck and I are saying is that it's not possible to do hot reloading _right now_ with ESM.
@bnb a _preliminary_ step is to embed https://www.npmjs.com/package/fsevents in core to replace the buggy fs watch logic we have for macs (might be a new API). There might be another...
I don't know, maybe @pipobscure can help clarify.
Thanks @pipobscure for the explanation!
I think this would be an amazing feature to add to core. Are there any volunteers? We should remember to ping nodemon maintainers before hand.
what @bnb said!
@remy I don't think so. First, this has a long way to go before reaching feature parity (i.e. https://github.com/remy/nodemon/blob/HEAD/doc/requireable.md is missing). Second, this is hardly stable, and it will require...
cc @GeoffreyBooth @guybedford I would think this is expected given how ESM works, but it’d be good to a sanity check.
Awesome work!
I don't have much time right now for joining a conversation with this depth. From a quick skim @benjamingr summarizes this correctly. My position has not changed on this matter.