Rename the 'app' folder

148 views
Skip to first unread message

Hans Pragt

unread,
Dec 18, 2015, 8:05:24 PM12/18/15
to AngularJS
I followed along with the 15-minute Angular 2 quickstart guide, and everything works fine until I try to rename the "app" folder (and update the import statement in the index.html file of course). The web server appears to return an error when it tries to load the boot script. I figured I would find an answer to this fairly quick, but have been unable to find one after many searches. 

Sander Elias

unread,
Dec 19, 2015, 1:43:15 AM12/19/15
to AngularJS
Hi Hans,

The 15-minute quickstart is gone, so i guess you are using some older build?
Did you restart your build tools? Typescript --watch does not always pick up newly created folders. 

Regards
Sander

Hans Pragt

unread,
Dec 20, 2015, 2:14:45 AM12/20/15
to AngularJS
https://angular.io/docs/ts/latest/quickstart.html

I tried starting from a clean build, but no matter what I try, the server acts as if boot.js does not exist unless the folder is named "app" (and the import statement matches of course).

Reply all
Reply to author
Forward
0 new messages