0

I am developing the js of a laravel-5, AngularJS app right now. I am using elixir to version the css and js files. However while I am developing I don't want to have to have to version my files everytime I want to test something.

What is the best way to use elixir while you are still in active development?

I know you can use gulp watch but won't that create a new compiled version of the code everytime I save? Those files could add up fast.

Related Question: Should I commit the built files to version control?

1 Answer 1

1

After having developed with gulp for a few weeks now, gulp watch is really good at quickly recognizing the change and firing a rebuild on the file. Plus, it does delete the previous file.

So, Elixir keeps only 1 compiled version of each file. And it builds them quickly so gulp watch is a good solution.

Personally I think it is a very bad idea to version these files. For one they are always being deleted and recompiled. Lastly it is generated code that can (and should) be generated in production.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.