Git Product home page Git Product logo

Comments (14)

rrdelaney avatar rrdelaney commented on May 27, 2024 1

This is 100% not a Windows issue, thanks so much for proving an example repo where the issue can be seen! I'm working on this now

from bs-loader.

garkin avatar garkin commented on May 27, 2024

My bad. It actually ignore changes after error in ANY file. Even in entry.
Can't reproduce. Described scenario with sample repo is still in place

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Can you paste your entire webpack config?

from bs-loader.

garkin avatar garkin commented on May 27, 2024

https://github.com/garkin/bs_loader_webpack_watch_bug/blob/master/webpack.config.js

const path = require('path');

module.exports = {
  entry: {
      core: "./src/index.re"
  },
  resolve: {
    extensions: ['.re', '.ml', '.js']
  },
  output: {
    path: path.resolve(__dirname, 'out'),
    filename: '[name].js'
  },
  module: {
    rules: [
      // https://github.com/rrdelaney/bs-loader
      { test: /\.(re|ml)$/, use: { loader: 'bs-loader', options: { module: 'es6' } } }
    ]
  }
}

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Try adding "errorType: warning" to the loader options

from bs-loader.

garkin avatar garkin commented on May 27, 2024

After adding:

use: { loader: 'bs-loader', options: { module: 'es6', errorType: "warning" } }"

Watching is working as intended, but there are no error output in the console at all.

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Does running "bsb-w" work for you?

from bs-loader.

garkin avatar garkin commented on May 27, 2024

Yes, bsb -w works as expected.

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Hmm. This is definitely weird. I think it might be an issue using this with Windows.

I can't look too much into it right now, but I'll check it out later.

from bs-loader.

garkin avatar garkin commented on May 27, 2024

I can reproduce it on CentOS.

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Thanks so much for trying again on another OS! That makes it easier for me to test πŸ˜„

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Try out version 1.3.0 just published on npm πŸ˜ƒ I just tried it out on the demo repo and it works

Release Notes

from bs-loader.

garkin avatar garkin commented on May 27, 2024

Thank you, it's now fixed.

from bs-loader.

rrdelaney avatar rrdelaney commented on May 27, 2024

Hey! Thanks for submitting this issue πŸ˜„Reason-Scripts will automatically run "npm link bs-platform" upon install.

from bs-loader.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.