V
V
Valery2013-07-05 10:57:28
symfony
Valery, 2013-07-05 10:57:28

Why does assetic:dump --watch fall off?

Good afternoon,

Sometimes, when saving JS/CSS and running assetic:dump --watch on Symfony 2.3, broken files are generated after compilation.
Moreover, the files are simply chopped off, as if an error occurred, and the script crashed without finishing the file.
Re-saving fixes the problem, but still not convenient.
There are no errors in the console though.

With what can be connected? Checked on different servers (FreeBSD and Debian)

The number of files does not matter. I also tried to play with combine=false/true

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery, 2013-07-05
@Akuma

Resolved the issue.
The problem was that I did assetic:install --symlink
And in the template the styles were compiled to output="/bundle/name/css/style.css"
That is, because of the symlink, the file was compiled inside the bundle. At the same time, Assetic detected a change in the folder - and again compiled the file ... etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question