Added dev.js for node-dev, it does not invoke view compiler. index.js is for node only else error occurs