Reputation: 1
I try to install Tailwind CSS following the instructions on the official page. But as I tried to input the following instruction which starts the Tailwind CLI build process, the following occurred.
npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
enter image description here And it's still rebuilding even after ten minutes. I have no idea what is going on.
Thank you in advance!
Upvotes: 0
Views: 3431
Reputation: 11
You should just be able to end it with control + c with no issues
Upvotes: 1
Reputation: 1998
In tailwind.config.js
, stick to the essential folders, mine had to check thousands of plugin files before building, so updated it to limit the files to check
module.exports = {
content: [
"../views/**/*.{php,js,html}",
"../js/app/**/*.{php,js}"
],
theme: {
extend: {},
},
plugins: [],
}
Upvotes: 0
Reputation: 21
The --watch
command will make it run continiously. To put an end to it just press and hold CTRL
then C
Upvotes: 2