3

I'm currently developing a simple web application.

But I find it tedious to rebuild my app whenever I update my source files.

Is there any way to automatically build and run my web app whenever i update my source files?

  • 1
    You may want to look into writing automated tests instead of manually debugging the app. Then, when making a change, you'll just have to rerun the tests, which is much less tedious. – Damien MATHIEU Nov 08 '17 at 09:58
  • @DamienMATHIEU, i'm not trying to debug, i'm looking for tool/package to automatically, build and rerun my web app whenever I update my source file. –  Nov 08 '17 at 10:00
  • my point is that with automated tests, you wouldn't need to build and rerun the app all the time. You'd just need to rerun the tests. – Damien MATHIEU Nov 08 '17 at 10:20

1 Answers1

5

There is a very handy tool called pilu/fresh you might wanna check it out. We are personally using it on our project to automatically rebuild our code.

It's a very nice tool because it allows you to customize the file types to watch, and ignore files inside specified directories.

Hope this is what you're looking for.

stevenferrer
  • 2,504
  • 1
  • 22
  • 33