I'm building a website with Reactjs app, using Tailwind JIT CSS, and using Visual Studio code editor. I meet a problem with "compiling on save" with VScode. When I make a change for CSS in a file, ex: className="ml-6" in App.js file, and then saving that file. Then VScode will auto compile and run, but nothing change when I check the browser for effect. I think VScode only recompile for the modified files. So the Tailwind JIT CSS isn't compiled. (Notice that Tailwind JIT must be recompiled for updating CSS.)
I can fix the issue by made an any change in tailwind.config.js file and saved it. Then VScode will recompile the Tailwind jit CSS, and the web in browser is updated for css.
But this will slow down coding and debug. Could you please help me to recompile on save for CSS without make a change in tailwind.config.js file? Thanks a lot.

Visual Studio code - compile on save with Tailwind JIT CSS
1.5k views Asked by Biet Khong At
1
There are 1 answers
Related Questions in REACTJS
- ussd reader in Recket Native module
- Teams tab application returns SSO error in mobile Outlook
- Github Pages Deployment deploys a blank page
- Is there any way to glow this bulb image like a real light bulb
- Optimize LCP ReactJs
- Page in React only renders elements after refreshing
- Unable to Post Form Data to MongoDB because of picturepath
- MERN Stack App - User Avatar Upload - 500 Error After Deployment on Render
- Hooks are not supported inside an async component error in nextjs project using useQuery
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- On the server side, it returns undefined but on the client side, logs the values no problem
- Multilevel dropdown with checkboxes in Select component
- TypeScript Error only on big type only when assigned to a variable
- Deployment through app engine, cloud sql database, problem connecting with server code, doesn't connect
- Data is not filtering in props. Showing passdata.map is not a function
Related Questions in VISUAL-STUDIO-CODE
- Is there a way to prevent vscode from forwarding ssh agent to remote dev container?
- flutter Null check error: did not show file and line number
- vscode, debug angular, first time, doesn't debug, 2nd time stops at main.js then it's ok
- trouble with creating a project for Pymakr in vscode
- Compiling c++ code by VS Code is always blocked by clang-tidy error 'Error running 'clang-tidy'
- Disable typescript in VS Code
- couldn't sign in visual studio code
- I can't add text to "Message" in VS Code when committing to Git
- Cannot type single backtick in VSCode
- WebScraping doesnt work, even without error
- Visual Studio Code keeps discovering python interpreters forever and vscode-server on remote is busy 100%
- vscode uses different cocoapods version when running a task
- Live server extension in VS Code works in background but do not pop the web browser
- How to recover deleted files from create vite react project
- Autocomplete not working for apache spark in java vscode
Related Questions in TAILWIND-CSS
- General questions about creating a custom theme Moodle CMS
- Vue/TailwindCSS - Content is behind Sidebar
- 'bun' is not recognized as an internal or external command
- Trouble generating PDFs with Playwright in Docker container
- tailwind CSS applied on react component moves the navigation bar along in remix
- Is there a way to support Tailwind @apply in Visual Studio?
- Flex layout with grid system in tailwind
- How do I integrate an existing delete function that is located in my routes.php file to a delete button in a modal in my hr.employees.profile.php?
- How can i prevent the image from zooming in when i resize the browser?
- Tailwind CSS background image does not work on github pages
- How to achieve this with chart.js in react?
- What other ways to get my expo go to load?
- Tailwind.css in Remix project does not load file or styles
- Tailwind would not load in a new nextjs app... Unexpected character '@'
- Web server doesnt output the website like in the project on localhost
Related Questions in JIT
- Can not load scripted model using torch::jit::load
- Load function written in amd64 assembly into memory and call it
- Cannot trace my own model using torch.jit.trace
- why does Java’s JIT compilation happen within user threads?
- Why doesn't Hotspot JIT optimize-out code that has no external effects?
- How does the JIT compiler Maglev in chrome v8 perform?
- Is this python function to calculate ZLEMA correct (and optimised)?
- Is there a way to work around the donet jit compile inliner time budget?
- Provide symbols to the VisualStudio debugger for custom code
- jit - "Failed in nopython mode pipeline" error, despite not using nopython in numba
- Export Detectron2 Model
- Equivalent of `jax.lax.cond` for multiple boolean conditions
- V8 unsigned int operations
- Allowed data types in torch.jit.trace()
- suspiciously large mmap in C2Compiler::compile_method/PhaseCFG::insert_anti_dependences
Related Questions in RECOMPILE
- Can't install after recompiled android code
- recompile of apk file does not work any longer
- Apktool Error Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x2
- Standard Java jar decompiling ,modifying and compiling again
- How to I recompile an extracted pyinstaller file back to exe?
- C# ado.net stored procedure with recompile hint
- How can I add code to .class files in java
- Recompiling using JAVAC command
- Angular recompile with Docker very slow after updating from Angular 11 to Angular 12
- Makefile doesn't compile all files when I change it
- run, save variable state, interrupt execution, and reload variables from the last state before the interrupt
- Visual Studio code - compile on save with Tailwind JIT CSS
- VS Code, git bash, ng serve stopped recompiling an application. Why?
- tried to recompile oldest java software
- Recompile binary program written in "new" language
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I would recommend that you use JIT mode after you are fully familiar with TailwindCSS usage. Unless you have a specific reason to use
JITmode, then just delete it as general usage.JITmode generates your styles on-demand as you author your templates instead of generating everything in advance at initial build time.So if you work with wrong or missed custom settings in
tailwind.config.js, then it will not make as you intended.Nevertheless, want to use
JIT, then carefully check this Doc.I didn't found any other reason why your code didn't working. I hope your success! :)
ps.. please delete your ./src/assets/css/src folder and files ^^