aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PscIde.js
Commit message (Collapse)AuthorAgeFilesLines
* Add psc-ide-server arguments and pass src to psc-ide-serverMichal Kozakiewicz2017-01-061-4/+5
|
* Use emitError and emitWarningeric thul2016-11-191-3/+9
|
* PscIde full recompile on unknown module importseric thul2016-11-191-1/+7
| | | | | | | Instead of forcing a recompile on an unknown value and on unknown module imports, opt to only recompile for unknown module imports. An unknown value may be a typo. Having a faster feedback loop in these cases seems ideal.
* Always resolve on psc-ide rebuild failureeric thul2016-11-191-9/+4
| | | | | | | | | | | | | | | | | | The objective of enabling psc-ide is to obtain feedback immediately from the PureScript compiler. When the loader triggers an error to webpack, the bundle is invalidated and dependencies of the PureScript file that caused the error will be passed through the loader on the next successful rebuild. However, this behaviour adds time to the feedback loop. In order to reduce the time of the PureScript compiler feedback loop when in development, this commit always resolves the rebuild process with a success. Errors and warnings are still emitted, but the webpack bundle is not invalidated. This means that the loader will only be run for the current file being editted and the developer gets immediate feedback on success or failure when psc-ide is enabled. Resolves #76
* Wrapping reject values in Error objectseric thul2016-11-051-6/+6
|
* Handle no filename in PscIde resulteric thul2016-06-121-43/+49
| | | | Resolves #58
* Reduce building of PureScript module maperic thul2016-06-121-0/+231
Resolves #59 and resolves #60