Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gilamran/tsc-watch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.3
Choose a base ref
...
head repository: gilamran/tsc-watch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9d1bd0b24f5d37a8e4a4bc3a5988520906ec8f52
Choose a head ref

Commits on Mar 12, 2022

  1. Convert to TypeScript

    gilamran committed Mar 12, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    joschi Jochen Schalanda
    Copy the full SHA
    5b8a586 View commit details

Commits on Mar 19, 2022

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    joschi Jochen Schalanda
    Copy the full SHA
    bddb2ab View commit details
  2. split client from lib

    gilamran committed Mar 19, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    joschi Jochen Schalanda
    Copy the full SHA
    a78852b View commit details
  3. removed unused client.js

    gilamran committed Mar 19, 2022
    Copy the full SHA
    e3fe378 View commit details
  4. updated travis

    gilamran committed Mar 19, 2022
    Copy the full SHA
    d0058c8 View commit details
  5. Copy the full SHA
    41f58c6 View commit details

Commits on Mar 22, 2022

  1. using __dirname

    gilamran committed Mar 22, 2022
    Copy the full SHA
    f25fe9b View commit details

Commits on Mar 28, 2022

  1. latest node12

    gil-fireblocks committed Mar 28, 2022
    Copy the full SHA
    d231c6a View commit details
  2. Copy the full SHA
    f7a0957 View commit details
  3. version 5

    gil-fireblocks committed Mar 28, 2022
    Copy the full SHA
    2fb0f37 View commit details
  4. Copy the full SHA
    2dac2ee View commit details

Commits on Apr 3, 2022

  1. Copy the full SHA
    f6a843c View commit details
  2. fixed wrong import

    gilamran committed Apr 3, 2022
    Copy the full SHA
    e3b9aa0 View commit details
  3. Copy the full SHA
    dcc018f View commit details
  4. Copy the full SHA
    f9b758b View commit details
  5. 6.0.0-dev.0

    gilamran committed Apr 3, 2022
    Copy the full SHA
    4116ba1 View commit details

Commits on Apr 4, 2022

  1. added dist folder

    gilamran committed Apr 4, 2022
    Copy the full SHA
    b751042 View commit details
  2. fix: TscWatchClient default tscWatchPath didn't work properly

    client and tsc-watch are now in sibling folders
    pp0rtal committed Apr 4, 2022
    Copy the full SHA
    341a4c9 View commit details
  3. feat(136): repeat tsc exit process signal and stderr

    - pipe tsc stderr output to visualize fatal crashes
    - exit process with same signal (SIGKILL, SIGABRT, ...)
    pp0rtal committed Apr 4, 2022
    Copy the full SHA
    6ea20fc View commit details
  4. Copy the full SHA
    33ecac3 View commit details
  5. Handle signalEmittedFiles to watch emitted files silently

    --signalEmittedFiles will add support for `file_emitted` leaving output cleaner
    pp0rtal committed Apr 4, 2022
    Copy the full SHA
    5eefd16 View commit details

Commits on Apr 17, 2022

  1. refactor: print() params

    will allow print param to be more easily extended
    print(lint, <optional_params>)
    pp0rtal committed Apr 17, 2022
    Copy the full SHA
    81c3159 View commit details
  2. Copy the full SHA
    32f095f View commit details

Commits on Apr 21, 2022

  1. drop useless require.resolve

    and use path.join
    pp0rtal committed Apr 21, 2022
    Copy the full SHA
    ce7ac78 View commit details
  2. Copy the full SHA
    9f88210 View commit details
  3. Copy the full SHA
    c8a34c0 View commit details

Commits on May 9, 2022

  1. Hide TSFile properly

    - Parse signalEmittedFiles and listEmittedFiles individually
    - Transmit to print those 2 params
    - Move the hide logic inside the print function
    pp0rtal committed May 9, 2022
    Copy the full SHA
    ab461f7 View commit details

Commits on Jun 13, 2022

  1. Merge pull request #147 from pp0rtal/v6-better-error-handling

    feat(136): improve error handling on tsc fatal signals
    Gil Amran authored Jun 13, 2022
    Copy the full SHA
    7934f23 View commit details
  2. Merge pull request #148 from pp0rtal/v6-signalEmittedFiles

    feat(140): add `--signalEmittedFiles` and trigger `file_emitted` silently
    Gil Amran authored Jun 13, 2022
    Copy the full SHA
    8fdbb51 View commit details
  3. pre release 6.0.0-dev.2

    gilamran committed Jun 13, 2022
    Copy the full SHA
    5b05a38 View commit details

Commits on Jun 14, 2022

  1. fix: do not transform TSFILE statements

    As issued in #142
    And following fix in v5 8ad7e7c
    pp0rtal committed Jun 14, 2022
    Copy the full SHA
    4495ba1 View commit details
  2. fix: call listEmittedFiles after tsc

    2 problems:
    - listEmittedFiles was written before tsc bin (crash)
    - listEmittedFiles was not rewritten if explicitly set because extractArgs removes it from args /!\
    
    Example of a good call:
    node --node-params ./node_modules/.bin/tsc --tsc-param
    
    The 1-line assignment should make this order clearer
    pp0rtal committed Jun 14, 2022
    Copy the full SHA
    98e1746 View commit details
  3. Copy the full SHA
    cadf5cc View commit details

Commits on Jun 15, 2022

  1. Merge pull request #151 from pp0rtal/v6-145-looses-fixes

    fix: v6 fixes
    Gil Amran authored Jun 15, 2022
    Copy the full SHA
    7af10d3 View commit details
  2. version 6.0.0-dev.3

    gilamran committed Jun 15, 2022
    Copy the full SHA
    8c37a01 View commit details

Commits on Sep 11, 2022

  1. 6.0.0-dev.4 better killing

    gilamran committed Sep 11, 2022
    Copy the full SHA
    53f8dad View commit details

Commits on Oct 4, 2022

  1. Copy the full SHA
    edba3a0 View commit details
  2. bigger timeout for CI

    gilamran committed Oct 4, 2022
    Copy the full SHA
    9d1bd0b View commit details
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -4,3 +4,4 @@ node_modules/
npm-debug.log
tmp/
dist/
types/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12.22.10
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: node_js
node_js:
- '17'
- '16'
- '14'
- '12'
- '10'
- '8'
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @gilamran/tsc-watch CHANGELOG

## v6.0.0-dev.4 - 12/09/2022
- killing processes once, and waiting for them to complete before starting a new one

## v6.0.0 - 13/06/2022
- added signalEmittedFiles, thanks to @pp0rtal

## v5.0.0 - 12/03/2022
- Converted to Typescript
## v5.0.3 - 07/04/2022

- Fixed DOS line endings [issue](https://github.com/gilamran/tsc-watch/issues/149)) thanks to @sluukkonen
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@
| `--maxNodeMem` | Calls `node` with a specific memory limit `max_old_space_size`, to use if your project needs more memory. |
| `--noColors` | By default tsc-watch adds colors the output with green<br>on success, and in red on failure. <br>Add this argument to prevent that. |
| `--noClear` | In watch mode the `tsc` compiler clears the screen before reporting<br>Add this argument to prevent that. |
| `--signalEmittedFiles` | Will run `tsc` compiler with `--listEmittedFiles`, but hiding TSFILE lines. Use it to enable `file_emitted` event, while keeping tsc stdout silent. |
| `--silent` | Do not print any messages on stdout. |
| `--compiler PATH` | The `PATH` will be used instead of typescript compiler.<br>Default is `typescript/bin/tsc` |

1 change: 1 addition & 0 deletions client.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./dist/client"
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./lib/client');
module.exports = require('./dist/client');
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env node

require('./lib/tsc-watch');
require('./dist/lib/tsc-watch');
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ["**/src/test/*.test.ts"],
testTimeout: 30000,
};
83 changes: 0 additions & 83 deletions lib/args-manager.js

This file was deleted.

58 changes: 0 additions & 58 deletions lib/client.js

This file was deleted.

31 changes: 0 additions & 31 deletions lib/killer.js

This file was deleted.

25 changes: 0 additions & 25 deletions lib/runner.js

This file was deleted.

Loading