node.js - Express 4 app doesn't work in Azure when deployed via GitHub -
i'm working on express app created basic azure node.js express 4 application template in visual studio. in other words, it has web.config
modifications necessary support express 4's www\bin
structure.
this app works fine when debugging via visual studio or running directly via node command line. however, deployments source control not work when hooked github repo. can see project root in site\wwwroot
folder. more strange, publishing directly visual studio works.
this turned out simple oversight, feel can trip others i'll share answer here. i'm using visual studio .gitignore
file github , includes rule ignore [bb]in/
these build output. commits not including contents of /bin
, continuous deployment wasn't picking these either. commenting out line fixed issue.
Comments
Post a Comment