Is it possible to start up node and have both run on the same port?
> cd server && node index.js
info: Express server listening on 3001, in development mode
GET /node_modules/systemjs/dist/system.js 304 11.320 ms - -
GET /node_modules/es6-shim/es6-shim.js 304 8.689 ms - -
GET /node_modules/angular2/bundles/angular2-polyfills.js 304 10.217 ms - -
GET /node_modules/systemjs/dist/system.src.js 304 7.976 ms - -
GET /node_modules/rxjs/bundles/Rx.js 304 3.869 ms - -
GET /node_modules/angular2/bundles/upgrade.dev.js 304 2.991 ms - -
GET /node_modules/angular2/bundles/angular2.dev.js 304 1.407 ms - ---
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/6cdW6_n0zeg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
You're still running the code through the compiler on that "npm run go" script, that's the tsc:w part.
The point is, you still can't simply open that index file as a file in chrome, you have to go to a different "server", the one on port 8080. You could get node and express to run typescript compiler (tsc) for you, but a better practice is to actually build the scripts and serve like that.
You may have that task; what do you get when you run "npm run"?
And since it all looks connected, you may already have stuff prepared for you - did you use some kind of boilerplate for the project?
