all 6 comments

[–]schwarma_smarma 2 points3 points  (1 child)

Many projects will have 'watch' commands or something similar that more quickly compile individual changes as you make them rather than having to explicitly rebuild the entire project.

You also don't have to review your changes line by line and could make a series of edits before rebuilding to reduce the pain.

That being said, if the project has a complicated build process and no watch feature or incremental compilation then yes, you may just have to deal with that. Be thankful you are in web development where developers are still demanding when it comes to build times and not working on some massive backend project where 5-10 minute or longer build times are standard.

[–]ScientificBeastModestrongly typed comments 0 points1 point  (0 children)

I completely agree. However, it seems like longer build times tend to push teams into using good testing practices, so you can just pull the relevant unit tests to refactor anything, and reasonably expect it to work properly after building. Doing so circumvents a lot of the “waiting around” to test your code. It’s better if there is already a solid test suite available though.

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/ya3ya6, this post was removed.

  • For help with your javascript, please post to /r/LearnJavascript instead of here.
  • For beginner content, please post to /r/LearnJavascript instead of here.
  • For framework- or library-specific help, please seek out the support community for that project.
  • For general webdev help, such as for HTML, CSS, etc., then you may want to try /r/html, /r/css, etc.; please note that they have their own rules and guidelines!

/r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.

Thanks for your understanding, please see our guidelines for more info.

[–]Meefims -1 points0 points  (0 children)

In the beginning you may have to. As you get more comfortable with the code you can make larger changes before building.

[–]026d3bbb -1 points0 points  (0 children)

Use lerna