Commits on Source (2)
-
692b7ccd
-
Mark Harding authored
App changes to support Angular Hot Module Reloading for dev env See merge request !592
66944378
... | @@ -10,6 +10,7 @@ | ... | @@ -10,6 +10,7 @@ |
"build": "ng build --prod", | "build": "ng build --prod", | ||
"prebuild-dev": "gulp build.sass --deploy-url=http://localhost/en", | "prebuild-dev": "gulp build.sass --deploy-url=http://localhost/en", | ||
"build-dev": "ng build --output-path dist/en --deploy-url=/en/ --watch=true --poll=800", | "build-dev": "ng build --output-path dist/en --deploy-url=/en/ --watch=true --poll=800", | ||
"serve-dev": "ng serve --host=0.0.0.0 --deploy-url=/en/ --configuration=hmr --hmr --poll=800 --progress", | |||
"test": "ng test", | "test": "ng test", | ||
"lint": "ng lint", | "lint": "ng lint", | ||
"e2e": "cypress run --debug", | "e2e": "cypress run --debug", | ||
... | @@ -57,6 +58,7 @@ | ... | @@ -57,6 +58,7 @@ |
"@angular/cli": "^7.2.1", | "@angular/cli": "^7.2.1", | ||
"@angular/compiler-cli": "~8.0.3", | "@angular/compiler-cli": "~8.0.3", | ||
"@angular/language-service": "~8.0.3", | "@angular/language-service": "~8.0.3", | ||
"@angularclass/hmr": "^2.1.3", | |||
"@types/jasmine": "~2.8.8", | "@types/jasmine": "~2.8.8", | ||
"@types/jasminewd2": "~2.0.4", | "@types/jasminewd2": "~2.0.4", | ||
"@types/node": "~10.12.18", | "@types/node": "~10.12.18", | ||
... | ... |
src/environments/environment.hmr.ts
0 → 100644
src/hmr.ts
0 → 100644