theron-wang / VS2022-Editor-Support-for-Tailwind-CSS

Unofficial VS2022 Tailwind CSS extension for IntelliSense, linting, sorting, and more to enhance the development experience in Visual Studio 2022.
https://marketplace.visualstudio.com/items?itemName=TheronWang.TailwindCSSIntellisense
MIT License
86 stars 5 forks source link

[Build type] Reintroduce Build OnSave #50

Closed RemiCELLARD closed 2 months ago

RemiCELLARD commented 2 months ago

Hi,

Since the v1.4.2 update, the OnSave value has been removed from the parameter Build type. When we build with custom build, we can't relaunch it when we save a file (especially when launching hot reloads with Blazor).

Can we reintroduce the OnSave concept for custom builds ?

In my case, I have this command:

"build-css": "npx postcss ./Tailwind/css --base ./Tailwind/css --dir ./wwwroot/css --watch --verbose --poll --no-map --ext --config ./Tailwind/postcss.config.js",

Thanks

theron-wang commented 2 months ago

My apologies - I did not foresee that being an issue. I will be sure to re-add the feature in the next release.

theron-wang commented 2 months ago

Added in 1.4.3