Open NZSmartie opened 8 years ago
I don't recall nor can I find this change. @cgmartin may have more thoughts, but I like injectChanges true too.
The new default seems to be introduced by https://github.com/johnpapa/lite-server/commit/a9f0e6b6e48e8adb844a108d3f268df0dbca0026#diff-737c7d3ff36d06af220e1692dab2ee86R8.
Angular2 appears to work with
injectChanges: true
set inbs-config.js
I'm not sure when it started to work, but CSS changes successfully inject into my angular2 app through browser sync. Note that my app is not in production mode (but that should have little impact for lite-server)
I'm only suggesting that
injectChanges
be reverted to it's default value since it's a lot easier to make tweeks without full page refreshes. Though, I would like to know if there test cases that i could try to see if any limitations still existEnvironment
lite-server
version: 2.1.0nodejs
version: 6.1.0npm
version: 3.8.6angular
version: 2.0.0-beta.12