I need to compile / compact an "ever-growing" javascript app (round abouts 40k LoC, currently). I don't have the time to integrate the "appropriate" tool for what I'm trying to do, something like require.js, as it requires modification of said code. I was planning to just manually pile everything together to do a compact/compile routine, but at this point, I think that will make it quite difficult to maintain. (Ultimately, I'd like to keep the file structure broken down into its current hierarchy.) That being said, I've been using a tool called Winless for .less compilation, andI really like its functionality:
- add a folder set
- note the files you want to include
- watch for changes in those files and recompile when that happens