What is the difference between using StrongLoop "slc run" and "node app.js"

I am working on instructions for creating StrongLoop and have created my sample application. Although the instructions tell me to use:

slc run .

to launch my application, I noticed that I can also launch my application with:

node app.js

and get the same result. Obviously, using the second approach, I can integrate the StrongLoop application with tools such as forever.

So my question is: what additional benefits does slc-run offer? Does it have features like automatic restart, etc.

+4
source share
6 answers

You can do more with slcanything node app.js.

slc - StrongLoop, . , , , .

: http://docs.strongloop.com/display/SLC/StrongLoop+Controller

(, ..), , .

+8

- node slc.

"slc run. size 2". 1 1 , . , , , , (slc-) , , :

"slc clusterctl size 4". . .

node. . - .

- "slc debug". node Inspector , .

+4

(v2.1.1), slc run node app.js , REPL (/ reple.js # L150L24). , , , main package.json, Module._load().

slc run app.js, , : lib/commands/run.js # 30.

! https://github.com/strongloop/strong-cli

+3

- "slc debug app.js", node - . CLI. , , node .

+2
0
slc run

while node . node [fileName] Nodejs

0
source