-
Notifications
You must be signed in to change notification settings - Fork 41
purs ide
mode and new files
#100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for bringing this up. Apologies for the delay. Which version for the purs-loader are you using? Also, are you able to provide your webpack config? I am on webpack 1.x, and with the 3.0.0 purs-loader I haven't had to restart webpack to pick up new files. They are picked up when they are imported from existing files. Perhaps there is something going on in the config? |
Sorry for the delay too. I am using |
I came across this issue using webpack 3. I need to investigate further, but it seems to be an issue on webpack 2/3 and not webpack 1. In ide mode, it looks like we will need to attempt to add any files to the internal purs module mapping that are dependencies of files that are reloaded. We might be able to do something here to resolve this: purs-loader/src/to-javascript.js Lines 115 to 119 in aaf98ca
|
Thanks @ethul I will test it tomorrow. |
Great! Thanks
…On Tue, Oct 3, 2017 at 14:27 Marcin Szamotulski ***@***.***> wrote:
Thanks @ethul <https://github.com/ethul> I will test it tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#100 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVYy4alClir9QmZfld7I7eTh5YFRkZdks5sonykgaJpZM4Oo8mT>
.
|
Every time I add a new file, I need to restart webpack so that it's loaded. If we can get that information from webpack, we could ask purs ide to compile that file using
The text was updated successfully, but these errors were encountered: