NamingHard
NamingHard

Reputation: 1

Tailwind css installation, rebuild won't stop

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

Answers (3)

Grace Covarrubias
Grace Covarrubias

Reputation: 11

You should just be able to end it with control + c with no issues

Upvotes: 1

Ananth
Ananth

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

Olumide Michael
Olumide Michael

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

Related Questions