Skip to content

Commit

Permalink
Run importjsd start --parent-pid n
Browse files Browse the repository at this point in the history
I introduced a bug in import-js that presents when running `importjsd
--parent-pid n` instead of `importjsd start --parent-pid n`. So, I am
updating this plugin to work around that bug. This will likely be better
anyway.

More info: Galooshi/import-js#345
  • Loading branch information
lencioni committed Aug 24, 2016
1 parent 5e62808 commit 2a0e50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import-js.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def start_or_get_daemon(self, cwd):

try:
daemon = subprocess.Popen(
[executable, '--parent-pid', str(os.getppid())],
[executable, 'start', '--parent-pid', str(os.getppid())],
cwd=cwd,
env=import_js_environment,
stdin=subprocess.PIPE,
Expand Down

1 comment on commit 2a0e50b

@trotzig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.