]> git.immae.eu Git - github/fretlink/purs-loader.git/commit
Ensure that all imported files are watched
authoreric thul <thul.eric@gmail.com>
Sun, 12 Feb 2017 23:05:07 +0000 (18:05 -0500)
committereric thul <thul.eric@gmail.com>
Sun, 19 Feb 2017 17:09:16 +0000 (12:09 -0500)
commit8e21ab0ab3f8ba9d129f1cf3b59f87d7a2b5bfc2
tree0db1cffab8462d919299ab87eba42200748be632
parenta3c358f80f8197d5a1d05e42916cd5593b5b2dd5
Ensure that all imported files are watched

In order to handle the case where a new PureScript file is imported, but
fails to compile, the purs-loader now tracks imports for each PureScript
file in order to append any additional imports to the resulting JS.

This ensures that webpack will watch the new file even before it
successfully compiles.
package.json
src/PsModuleMap.js
src/index.js
src/to-javascript.js [new file with mode: 0644]
yarn.lock [new file with mode: 0644]