timonweb / django-tailwind

Django + Tailwind CSS = 💚
https://django-tailwind.readthedocs.io
MIT License
1.45k stars 89 forks source link

py manage.py tailwind start not working #107

Closed MarwinFrancis closed 2 years ago

MarwinFrancis commented 2 years ago

I'm working with Windows 10. I installed django-tailwind, followed the instructions and want to have hot reload. When I run py manage.py tailwind start, I got the error:

theme@2.2.1 start npm run dev

'npm' is not recognized as an internal or external command, operable program or batch file.

This was fixed by changing the start in package.json with: "start": "watch \"npm run build-postcss\" ./src",

When I tried to run the py manage.py tailwind start, I get the following error:

theme@2.2.1 start watch "npm run build-postcss" ./src

'watch' is not recognized as an internal or external command, operable program or batch file.

How can I fix this? Thanks!