E
E
elailasou2014-10-24 19:04:13
JavaScript
elailasou, 2014-10-24 19:04:13

Is it possible to use gruntjs or server-side equivalents for file operations on the fly?

I use grunt.js to concatenate and compress many css and js files. And everything is ok.
That's just one developer sometimes needs to edit files directly on the server. Naturally, this is problematic due to the fact that the files are compressed into one or two.
And actually the question is in the header.
PS: In Joomla and other CMS, does this process take place on the server? Or how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2014-10-24
@AMar4enko

As mentioned above, you will need a version control system.
Then there are two ways:
The first option is bad because the repository will contain files that are not directly related to the development process, and in case of conflicts there is more trouble (when both of you fixed something there at the same time).
The second option is better, but there you have to dance with setting up the repository hooks and processing them.
In general, the process looks like this:
If you still decide to store the finished files in the repository, then from the last point you need to exclude the assembly, since the finished files will be pulled from the repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question