Skip to content

Commit 20e8bb2

Browse files
joewhitepetebacondarwin
authored andcommitted
chore(package.json): remove local HTTP server's cache-control header
Disable the local HTTP server's cache-control header, to fix the problem where the browser wouldn't reload templateUrl-based directive templates. Fixes angular#193 Closes angular#194
1 parent c85d961 commit 20e8bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"postinstall": "bower install",
1818

1919
"prestart": "npm install",
20-
"start": "http-server -a localhost -p 8000",
20+
"start": "http-server -a localhost -p 8000 -c-1",
2121

2222
"pretest": "npm install",
2323
"test": "karma start karma.conf.js",

0 commit comments

Comments
 (0)