Commit 516fd31
committed
fix: handle correctly the situation when the compilation hash is the same as the previous one
Currently CLI considers the hash that is the same as the previous as invalid and this way the application is restarted on device. As that hash is already handled, we should consider it as a valid hash.
Steps to reproduce :
```
`tns create ts_proj` - choose ts tabs project
npm i tns-core-modules@rc --save --save-exact
npm i nativescript-dev-webpack@rc --save-dev --save-exact
node_modules/.bin/update-ns-webpack --deps –configs
tns run android
Change something in app.android.scss - the change is applied, no restart
Change something in app.ios.scss - application restarts
```1 parent 5115f07 commit 516fd31
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments