scotch / angular-brunch-seed

AngularJS + Brunch
Other
228 stars 78 forks source link

New Projects can't load JS files. #34

Closed Hoverbear closed 11 years ago

Hoverbear commented 11 years ago

Hi, Looks like a newly initialized project can't properly run. Replicate:

brunch new myapp --skeleton https://github.com/scotch/angular-brunch-seed
cd myapp
./scripts/server.sh

Observe the 'Welcome' page utterly not working.

Looks like when it tried to load vendor.js and app.js they're just html pages (which obviously doesn't work)

kylefinley commented 11 years ago

Just to confirm:

Does it work after you refresh the page? I've noticed that on the initial page load, brunch will not capture the vendor.js and app.js files, but on subsequent loads they will be handled properly. I'll add something to the README about this.

Hoverbear commented 11 years ago

You're right, that seems to be the case. Looks great.