How to exit REPL process in correct way?
dangtu (1)

I would like to exit REPL so I could run my package scripts .

Is there anyway to do? It seems the REPL is auto restart every time I try to exit.

You are viewing a single comment. View All
Answered by SPQR (346) [earned 5 cycles]
View Answer
ash15khng (234)

There isn't a way to run bash commands on repl.it sadly.

dangtu (1)

@ash15khng Thanks, so the scripts in package.json is useless?

vedprad1 (694)

@dangtu : Why do you need to run those scripts?

dangtu (1)

@vedprad1 I think it will help me automatically restart the server. (I guess)

vedprad1 (694)

@dangtu : I think the only way to restart the server is to press the run / restart button at the top of the page. However, if you want to see this as a new feature, you could post it here: https://repl.it/feedback

dangtu (1)

@vedprad1 Thank you for your nice support :)