-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Description
Now that Spago uses node -e for spago run, there's a disparity (when it comes to command line arguments) between running a Node app using spago run and directly with node after bundling.
When running with Node, the second argument is expected to be the path to the JavaScript file being executed. But when running with spago run, because of node -e, the second argument is omitted.
On one hand, that's how Node behaves, so technically this might not be considered an issue with Spago.
But I believe Spago should simulate the experience of running a Node app directly, so I propose that the file that is required when Spago runs node -e should be added to the command line arguments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels