Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
After running ionic serve, when modifying a file, I receive a UnhandledPromiseRejectionWarning error.
What behavior are you expecting?
The change should be detected, any SASS or TypeScript files should be recompiled, and the page reloaded (if livereload is active).
Steps to reproduce:
- Run
ionic serve on a working project.
- Edit a SCSS or TS file and save.
Which @ionic/app-scripts version are you using?
0.0.48
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Full output:
> ionic-hello-world@ ionic:serve /root/.../.../...
> ionic-app-scripts serve "--port" "9002" "--livereload-port" "9003" "--nobrowser" "--address" "165.x.x.66" "--lab" "--serverlogs"
[17:23:35] ionic-app-scripts 0.0.48
[17:23:35] watch started ...
[17:23:35] build dev started ...
[17:23:35] clean started ...
[17:23:35] clean finished in 9 ms
[17:23:35] copy started ...
[17:23:35] transpile started ...
[17:23:45] transpile finished in 10.30 s
[17:23:45] webpack started ...
[17:23:46] copy finished in 10.64 s
[17:24:13] webpack finished in 27.67 s
[17:24:13] sass started ...
[17:24:15] sass finished in 1.81 s
[17:24:15] build dev finished in 39.87 s
[17:24:15] watch ready in 40.12 s
[17:24:15] dev server running: http://165.x.x.x:9002/
[17:24:31] build started ...
(node:13998) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'send' of undefined