We have a front-end app that is compiled using grunt tasks. One of these tasks parses the dependencies from a view js file and then continues to traverse the dependency chain resulting in a list of js files that need to be included in the concat task. This is working as expected on every developers machine. Those machines are either running OSX or Arch Linux.
When our deploy server pulls the latest version of master and runs the compilation tasks, the files included in the dependency chain are different. There is absolutely no difference in the code being run in the deploy environment from that being run on a local machine. The deploy environment is running Ubuntu.
My questions are: is there a difference in how these environments process the current working directory that is not documented? Are there differences in how node glob traverses the file system on different OS's? What could possibly be going on here?