Changing entrypoint changes the file to run

When I change entrypoint in a nodejs repl, it runs what has been set on entrypoint. So does that mean run is useless?

Yes, there should be a comment saying that run is useless if entrypoint is set.

1 Like

@MattDESTROYER, so entrypoint does work in changing the file to run. Console doesn`t show the changes - #12 by OmegaOrbitals2

Oh, I guess Matt got confused.

1 Like

I swear it used to function differently, but my memory could easily just be that bad…

3 Likes

In a nodejs repl, yes. But entrypoint only works if the template is configured with a prybar interpreter. I am guessing the run command is a fallback in case prybar stops working. Otherwise, entrypoint only changes the file that is opened on load afaik.

3 Likes