pucelle / vscode-run-on-save

Run configured shell commands when a file is saved in vscode, and output configured messages on status bar.
https://marketplace.visualstudio.com/items?itemName=pucelle.run-on-save
MIT License
50 stars 11 forks source link

Error when run in "backend" #13

Closed harrytran998 closed 3 years ago

harrytran998 commented 3 years ago

Thank you for your extension 😁! When I run in "terminal" it's works correctly, but when run in "backend" --> error Couldn't find a package.json file in "/". I think this plugin runs on global npm? So how we can run it on the current project?

pucelle commented 3 years ago

There should be an issue in my codes, I've just publish a new version, try it. Otherwise, you may specify your command to be like ${workspaceFolder}/you_coommand_path_relative_to_workspace_folder to make it work.