This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork40
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Webpack compilation doesn't stop on errors in css/scss files #1085
Open
Labels
Description
Environment
Provide version numbers for the following components (information can be retrieved by runningtns info
in your project folder or by inspecting thepackage.json
of the project):
- CLI: 6.2.0-rc
- Cross-platform modules: 6.2.0-rc
- Android Runtime:
- iOS Runtime:
- Plugin(s):
- Node.js:
- Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
Describe the bug
Webpack compilation doesn't stop on error when changingapp.[s]css
file injs
,ts
,angular
orvue
projects. Also it doesn't stop when changing whatever.[s]css
file injs
orts
projects.
To Reproduce
tns create js --js
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
Make invalid change in app.css file. The compilation doesn’t stop on the error, the app is refreshed on device with broken css
Expected behavior
The webpack compilation should stop when there is an error.