Liking cljdoc? Tell your friends :D

dots.typescript.watch-host

Host that has watch functionality used in --watch mode

Host that has watch functionality used in --watch mode
raw docstring

clear-timeoutcljs

(clear-timeout watch-host timeout-id)

If provided, will be used to reset existing delayed compilation

Parameters:

  • timeout-id: any

Returns: void

If provided, will be used to reset existing delayed compilation

**Parameters:**
- `timeout-id`: `any`

**Returns:** `void`
sourceraw docstring

on-watch-status-changecljs

(on-watch-status-change watch-host diagnostic new-line options)
(on-watch-status-change watch-host diagnostic new-line options error-count)

If provided, called with Diagnostic message that informs about change in watch status

Parameters:

  • diagnostic: Diagnostic
  • new-line: string
  • options: CompilerOptions
  • error-count: number | undefined

Returns: void

If provided, called with Diagnostic message that informs about change in watch status

**Parameters:**
- `diagnostic`: `Diagnostic`
- `new-line`: `string`
- `options`: `CompilerOptions`
- `error-count`: `number | undefined`

**Returns:** `void`
sourceraw docstring

set-timeoutcljs

(set-timeout watch-host callback ms & args)

If provided, will be used to set delayed compilation, so that multiple changes in short span are compiled together

Parameters:

  • callback: (...args: any[]) => void
  • ms: number
  • args: any[]

Returns: any

If provided, will be used to set delayed compilation, so that multiple changes in short span are compiled together

**Parameters:**
- `callback`: `(...args: any[]) => void`
- `ms`: `number`
- `args`: `any[]`

**Returns:** `any`
sourceraw docstring

watch-directorycljs

(watch-directory watch-host path callback)
(watch-directory watch-host path callback recursive?)
(watch-directory watch-host path callback recursive? options)

Used to watch resolved module's failed lookup locations, config file specs, type roots where auto type reference directives are added

Parameters:

  • path: string
  • callback: DirectoryWatcherCallback
  • recursive?: boolean | undefined
  • options: WatchOptions | undefined

Returns: FileWatcher

Used to watch resolved module's failed lookup locations, config file specs, type roots where auto type reference directives are added

**Parameters:**
- `path`: `string`
- `callback`: `DirectoryWatcherCallback`
- `recursive?`: `boolean | undefined`
- `options`: `WatchOptions | undefined`

**Returns:** `FileWatcher`
sourceraw docstring

watch-filecljs

(watch-file watch-host path callback)
(watch-file watch-host path callback polling-interval)
(watch-file watch-host path callback polling-interval options)

Used to watch changes in source files, missing files needed to update the program or config file

Parameters:

  • path: string
  • callback: FileWatcherCallback
  • polling-interval: number | undefined
  • options: WatchOptions | undefined

Returns: FileWatcher

Used to watch changes in source files, missing files needed to update the program or config file

**Parameters:**
- `path`: `string`
- `callback`: `FileWatcherCallback`
- `polling-interval`: `number | undefined`
- `options`: `WatchOptions | undefined`

**Returns:** `FileWatcher`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close