IngwiePhoenix / sassport-loader

Use SassPort to render your Sass in WebPack!
MIT License
8 stars 2 forks source link

Hot reload fails when a module is added #2

Open stevoland opened 8 years ago

stevoland commented 8 years ago

Hi, only me again!

Hot reloading was working great until I added a module and the rebuild isn't triggered anymore. I've altered the example folder to show this.

If you look at https://github.com/stevoland/sassport-loader/commit/c27e88ff9f246b941c9d384d587e5471898e55a2

and do

cd example
node server.js
# load http://localhost:8081

You can edit my_colors.js and all is well.

When I uncomment the line to include the module: https://github.com/stevoland/sassport-loader/commit/502958d9bc7d7ceacfd85a489bad6d761053ed15 and restart the server, editing my_colors.js doesn't trigger a rebuild anymore.

I've no idea why this could be. Hopefully you do! Thanks

stevoland commented 8 years ago

Hi, sorry to pester you. Were you able to reproduce this issue with my fork? Thanks

IngwiePhoenix commented 8 years ago

No luck thus far, sorry.

I am currently preparing to return to coding again so I will look into this again soon-ish :)

davidkpiano commented 8 years ago

@IngwiePhoenix Let me know if you need my help! Happy to assist in any way I can.