gulp-community / gulp-livereload

gulp plugin for livereload
768 stars 67 forks source link

when i change my code in css and save it... An error in git bash localhost stops #129

Closed Anmolpreet97 closed 6 years ago

Anmolpreet97 commented 6 years ago

[22:17:03] Using gulpfile ~\Desktop\projct\theme\gulpfile.js [22:17:03] Starting 'js'... [22:17:03] Starting 'sass'... [22:17:03] Starting 'fa'... [22:17:03] Starting 'fonts'... [22:17:03] Finished 'fa' after 76 ms [22:17:03] Finished 'js' after 129 ms [22:17:03] Finished 'fonts' after 131 ms

events.js:167 throw er; // Unhandled 'error' event ^ Error: src\scss\style.scss Error: Undefined variable: "$primary". on line 7 of src/scss/style.scss

box-shadow: 2px 2px 5px $primary; --------------------------^

at options.error (C:\Users\navib\Desktop\projct\theme\node_modules\node-sass\lib\index.js:291:26)

Emitted 'error' event at: at DestroyableTransform.onerror (C:\Users\navib\Desktop\projct\theme\node_modules\vinyl-fs\node_modules\readable-stream\lib_stream_readable.js:558:12) at DestroyableTransform.emit (events.js:182:13) at onwriteError (C:\Users\navib\Desktop\projct\theme\node_modules\readable-stream\lib_stream_writable.js:449:12) at onwrite (C:\Users\navib\Desktop\projct\theme\node_modules\readable-stream\lib_stream_writable.js:470:11) at WritableState.onwrite (C:\Users\navib\Desktop\projct\theme\node_modules\readable-stream\lib_stream_writable.js:180:5) at DestroyableTransform.afterTransform (C:\Users\navib\Desktop\projct\theme\node_modules\readable-stream\lib_stream_transform.js:93:3) at errorM (C:\Users\navib\Desktop\projct\theme\node_modules\gulp-sass\index.js:118:12) at Object.callback (C:\Users\navib\Desktop\projct\theme\node_modules\gulp-sass\index.js:127:16) at options.error (C:\Users\navib\Desktop\projct\theme\node_modules\node-sass\lib\index.js:294:32)