Commit graph

98 commits

Author SHA1 Message Date
Ron Buckton
3c344987de Merge branch 'master' into transforms 2016-03-18 17:13:55 -07:00
Ron Buckton
dd2dc78dd6 Enables source maps for exceptions thrown in the compiler (when available) 2016-02-19 16:59:57 -08:00
Bill Ticehurst
cc76f0f7f0 Fixed watcher for rename operations, and for allowJs in config file
(cherry picked from commit 745f32bbee)
2016-02-12 08:59:16 -08:00
Vladimir Matveev
b18cbc6300 address PR feedback 2016-02-11 17:29:01 -08:00
Vladimir Matveev
354e650341 fix 'fileExists' check by using stat directly 2016-02-11 16:59:54 -08:00
Josh Soref
284b26f49f spelling fixes for src/compiler
* after
* aggressive
* appear
* asterisks
* candidate
* conflict
* directory
* dollar
* ellipsis
* exports
* failures
* folder
* followed
* highlight
* inferred
* location
* occurred
* output
* propagated
* push
* rather
* remaining
* search
* stabilized
* substitution
* successful
* even though
* will
* with
2016-02-11 16:56:45 +00:00
Tim Viiding-Spader
8e472db66f Delete mention of nonexistent watcherPath param
It doesn't exist now.

It didn't exist in the commit that first mentioned it.
2016-02-02 15:44:47 -06:00
zhengbli
c244306514 address CR feedback: use typeof check instead of checking undefined and null value 2016-01-15 16:55:25 -08:00
zhengbli
c2f453b8fb Fix the getCanonicalFileName in sys.ts and also check null value in file watcher call back 2016-01-15 14:58:04 -08:00
Zhengbo Li
dbfe862dbd not casting relative filenames in 'tsc watch' to Path 2016-01-14 00:34:43 -08:00
Zhengbo Li
067573b0c3 cr feedback: simplify the removeFile function 2016-01-13 14:03:18 -08:00
Zhengbo Li
02531af991 Update the watchedFileSet to use Path instead of string for file names 2016-01-13 13:18:28 -08:00
Zhengbo Li
d22626f32d Fix lint issue 2016-01-12 00:17:38 -08:00
zhengbli
114d2bd66d Separate directory watching and file watching again to reduce logic complexity, because reference counting is a lot easier in this case 2016-01-11 11:35:46 -08:00
Zhengbo Li
697644c583 spell our dir to directory 2016-01-07 22:48:17 -08:00
Zhengbo Li
8cf1a34f70 enable more than one callbacks for a watched file 2015-12-28 14:05:32 -08:00
Zhengbo Li
56a7217241 Merge branch 'master' of https://github.com/Microsoft/TypeScript into i6016 2015-12-22 16:13:38 -08:00
Zhengbo Li
631363fee1 Fix lint issues 2015-12-22 15:38:52 -08:00
Zhengbo Li
caa6eb4204 Reuse watchers between 'watchDirectory' and 'watchFile' 2015-12-22 15:26:21 -08:00
Zhengbo Li
178b2dabfe Add type alias for filewatching callbacks 2015-12-21 17:02:00 -08:00
Daniel Rosenwasser
0a470add81 Removed unused declarations from 'sys.ts'. 2015-12-17 14:38:17 -08:00
Zhengbo Li
602cde4cc1 Merge branch 'master' of https://github.com/Microsoft/TypeScript into i6016 2015-12-15 08:49:05 -08:00
Zhengbo Li
d41901576a Use FileMap instead of string array 2015-12-15 08:39:51 -08:00
Paul van Brenk
9d1cc31144 Merge pull request #6074 from Microsoft/supportChakra
make ChakraHost more generally usefull
2015-12-11 16:55:39 -08:00
Paul van Brenk
27493736c3 trailing whitespace 2015-12-11 16:32:44 -08:00
Paul van Brenk
0c365daac5 make ChakraHost more generally usefull 2015-12-11 16:19:08 -08:00
Zhengbo Li
564c4af59b Rollback to polling file watching 2015-12-10 23:27:07 -08:00
Zhengbo Li
36cc0e017b fix linter errors 2015-12-10 17:59:07 -08:00
Zhengbo Li
5fa7bec226 revert back to polling watching for approaching release 2015-12-10 17:54:03 -08:00
Zhengbo Li
e67574446a Fix too many watcher instances issue 2015-12-09 16:21:04 -08:00
Paul van Brenk
dfb32c5dae Simplified after CR feedback. 2015-12-02 11:49:54 -08:00
Paul van Brenk
8d3e4f3475 cr feedback 2015-12-01 17:44:43 -08:00
Paul van Brenk
956a6b720a Add support for Chakra Host in sys. 2015-12-01 16:18:06 -08:00
Wesley Wigham
8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Martin Všetička
30499e7ee5 Support '/dev/stdout' as a valid '--out' parameter 2015-11-03 08:05:49 +01:00
Daniel Rosenwasser
40f10abe01 Forget about tty detection. It won't work in build tools. 2015-11-02 15:23:15 -08:00
Daniel Rosenwasser
fa2e614f9f Merge branch 'master' into iFeelPrettyErr 2015-10-30 18:10:05 -07:00
zhengbli
3e37b3158b Address code review at 5127 2015-10-14 21:36:35 -07:00
zhengbli
fcfc25eeb0 Fix lint errors 2015-10-14 16:57:08 -07:00
zhengbli
002f0c066b CR feedback 2015-10-14 15:10:05 -07:00
zhengbli
8171dede90 Lint fixes and test fixes 2015-10-06 12:33:06 -07:00
Daniel Rosenwasser
c3e00a24f3 Only use colors if we are certain we are using a pseudoterminal. 2015-10-05 23:38:32 -07:00
Daniel Rosenwasser
7c73a661c5 Merge branch 'master' into iFeelPrettyErr
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/sys.ts
	src/compiler/tsc.ts
2015-10-05 23:08:59 -07:00
zhengbli
f7e35d5975 Incorporating changes from #3780 2015-10-05 16:19:09 -07:00
zhengbli
17f0cce772 Update comments 2015-10-05 14:31:43 -07:00
zhengbli
7741ec0999 Use fs.watch for all directory watchers and some bug fixes 2015-10-05 14:07:51 -07:00
zhengbli
9db53f23cf Add directory watcher to tsc 2015-10-05 13:12:13 -07:00
zhengbli
7fa26adf28 Redesigned directory watchers 2015-10-05 02:58:40 -07:00
Zhengbo Li
98eaeba4f1 temp save 2015-10-02 11:49:30 -07:00
Zhengbo Li
4dcf8c7737 bug fixes 2015-10-01 15:59:03 -07:00