Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Source maps not saved in the correct location if app path changes. #26

Closed
davismj opened this issue Feb 6, 2015 · 1 comment
Closed

Comments

@davismj
Copy link
Member

davismj commented Feb 6, 2015

I switched the name of my build directory from src/ to app/. When I ran the watch task, the source maps were not available and a 404 was thrown when the browser attempted to load them.

@ghost
Copy link

ghost commented Feb 6, 2015

Sounds reasonable enough. Did you change the build/paths.js source property to 'app/**/*.js'?

The quick fix is to change build/tasks/build.js and change the sourceRoot property on the sourcemaps object to '/app'. But I'll fix it up a little later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant