-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hi !
I'm using the template from dunglas/symfony-docker. I followed the instruction to build/launch my container and installed the bare minimum according to documentation:
Twig:
symfony/twig-bundle
symfony/asset-mappersymfony/assetsymfony/twig-pack
symfonycasts/tailwind-bundle
After installing those according to documentation, i created a simple controller to use my twig file but i encounter an error:
An exception has been thrown during the rendering of a template ("Built Tailwind CSS file does not exist: run "php bin/console tailwind:build" to generate it").
Even after running php bin/console tailwind:build, the error persists.
The only way to stop this error is to compile using asset-map:compile.
Afterward, every change i've made and built are not applied even when i use the --poll and i must rerun asset-map:compile to see any modification.
As it is very inconvenient to use asset-map:compile at every change, i wanted to know if there is anyway to make my tailwind:build --watch works.
Also, it's my first issue on GitHub so if there is any modification to make or precision, please tell me.