Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add option to run terminal comand after compile #237

Open
yehudaTiram opened this issue Nov 12, 2022 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@yehudaTiram
Copy link

yehudaTiram commented Nov 12, 2022

Is it possible to add a custom command to the settings so it will be executed after compile?
In my case, I have to run "npm run compile:rtl" after sass compilation.
Didn't find any way to do it without waiting for the compilation to finish and then move to terminal and run it.

@glenn2223
Copy link
Owner

That's a great idea!

Is this something you can work on submitting a PR for? All my free time is tied up at the minute (baby, uni, work, etc.) so it's not something I'd be able to add in the near future

Otherwise, do you have an example extension with this feature that I can use as a base/starting point?

@yehudaTiram
Copy link
Author

yehudaTiram commented Nov 16, 2022

Thank you. Unfortunately I don't write in TS and can't help on this.
But, how about adding an option ( in settings ) to run a task. Something along the lines of the answer here
https://stackoverflow.com/questions/52868095/add-tasks-to-tasks-json-for-users-of-a-vscode-extension

@glenn2223 glenn2223 added the enhancement New feature or request label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants