I\'m working through the StrongLoop\'s getting started instructions and created my sample app. Whilst the instructions tell me to use:
slc run .
Based on the latest release at the moment (v2.1.1), the main immediate benefit of running slc run
instead of node app.js
is you get a REPL at the same time (lib/run-reple.js#L150L24). Looks like all you have to do is have main
set properly in package.json
, since it uses Module._load()
.
If you run slc run app.js
you get no benefit as far as I can tell: lib/commands/run.js#30.
Yay open source! https://github.com/strongloop/strong-cli