Browse Source

* indium-nodejs.el: Output the nodejs command when starting indium

drone
Nicolas Petton 2 years ago
parent
commit
f3ab5272ee
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      indium-nodejs.el

+ 6
- 4
indium-nodejs.el View File

@ -50,15 +50,17 @@ execution at the first statement."
(user-error "No NodeJS command specified in the .indium.json file"))
(let* ((default-directory .resolvedRoot)
(filter (indium-nodejs--process-filter-function conf))
(command-with-flags (indium-nodejs--command-with-flags
.command
.inspect-brk
.port))
(process (make-process :name "indium-nodejs-process"
:buffer "*node process*"
:filter filter
:command (list shell-file-name
shell-command-switch
(indium-nodejs--command-with-flags
.command
.inspect-brk
.port)))))
command-with-flags))))
(message "Running node command \"%s\"" command-with-flags)
(switch-to-buffer (process-buffer process)))))


Loading…
Cancel
Save