I'm seeing some weird issues with source maps when using gulp, concat and uglify. This has been reproduced on Windows, Linux and Mac :) StackOverflow question here
- Restore NPM using npm install
- Run gulp (it will watch)
- Run http-server to serve the file
- Visit http://localhost:8080
- Open up chrome developer tools, and navigate to 'source/scripts/myApp.someView.js'
- Try to add a breakpoint to the line indicated in the comments. You won't be able to
- Add a breakpoint where it will let you, and reload the page. You wil see the symbols have not been mapped.
- Comment out the 'uglify' line in gulp, and rerun gulp. Then source mapping (using concat) works fine