File watcher runs while typing even with sync off

I have a file watcher that runs while I'm typing even though I have Immediate file synchronization turned off. I've turned it on and off several times hoping it would fix it but no luck. I'm using IDEA 2017.2.5 on Windows 10 so any ideas on how to fix this?

 

18 comments
Comment actions Permalink

Does the issue occur when editing the files during JavaScript debug session? Live Edit (that is active during debugging) auto-saves files to provide live reload - this might be the issue.

Also, do you have any custom plugins installed? They can, too, be responsible for auto-saving - for example, Flow service, when enabled, flashes files to disk to submit up-to-date files to Flow type checker, third-party SonarLint and ESLint plugins are known for causing such issues, as they save files to run analysis on the changes, etc.

0
Comment actions Permalink

I am not debugging and don't even have the server running right now. I don't have Flow or SonarLint installed and ESLint is disabled for the project. With my version it appears ESLint is built in and I don't have the plugin installed? Do I still need to install the plugin? One thing to note is I exported the file watcher from another project and imported it - don't know if this might cause problems?

0
Comment actions Permalink

>With my version it appears ESLint is built in and I don't have the plugin installed? Do I still need to install the plugin?

No; ESlint support is built in, and the built-in ESLint integration doesn't cause file saving on editing

>One thing to note is I exported the file watcher from another project and imported it - don't know if this might cause problems?

No; but you can try re-creating it to be on safe side.

Do you have any other file watchers enabled?

0
Comment actions Permalink

I deleted and recreated the file watcher and still the same problem. I don't have any other file watchers. 

0
Comment actions Permalink

Please provide your idea.log

0
Comment actions Permalink
2017-11-02 13:58:11,641 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2017-11-02 13:58:11,652 [ 11] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.75
2017-11-02 13:58:11,652 [ 11] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.75 (IDE-managed HiDPI)
2017-11-02 13:58:11,660 [ 19] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-172.4343.14, 26 Sep 2017 00:11)
2017-11-02 13:58:11,660 [ 19] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2017-11-02 13:58:11,660 [ 19] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-915-b12 (JetBrains s.r.o)
2017-11-02 13:58:11,660 [ 19] INFO - #com.intellij.idea.Main - JVM: 25.152-b12 (OpenJDK 64-Bit Server VM)
2017-11-02 13:58:11,662 [ 21] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx4096m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Users\suim01\.IntelliJIdea2017.2\config\idea64.exe.vmoptions -Xbootclasspath/a:C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2017.1\lib\boot.jar -Didea.jre.check=true -Didea.paths.selector=IntelliJIdea2017.2 -XX:ErrorFile=C:\Users\suim01\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\suim01\java_error_in_idea.hprof
2017-11-02 13:58:11,662 [ 21] INFO - #com.intellij.idea.Main - ext: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2017.1\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2017-11-02 13:58:11,662 [ 21] INFO - #com.intellij.idea.Main - JNU charset: Cp1252
2017-11-02 13:58:11,692 [ 51] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 30 ms
2017-11-02 13:58:11,694 [ 53] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2017-11-02 13:58:13,893 [ 2252] INFO - llij.ide.plugins.PluginManager - 138 plugins initialized in 1475 ms
2017-11-02 13:58:13,922 [ 2281] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.2.3), AngularJS (172.4343.14), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (172.4343.14), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (172.4343.14), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (172.4343.14), Eclipse Integration (3.0), EditorConfig (172.4343.14), Emma (172.4343.14), Flash/Flex Support (172.4343.14), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (172.4343.14), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (172.4343.14), Grails (9.0), Groovy (9.0), Guice (8.0), HTML Tools (2.0), Haml (172.4343.14), Heroku integration (1.0), Hibernate Support (1.0), I18n for Java (172.4343.14), IDEA CORE (172.4343.14), IntelliLang (8.0), J2ME (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Frameworks Base Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (172.4343.14), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.1.4-release-IJ2017.2-3), Less support (172.4343.14), Markdown support (172.4343.14), Maven Integration (172.4343.14), Maven Integration Extension (172.4343.14), OpenShift integration (1.0), Osmorc (1.4.10), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (172.4343.14), QuirksMode (172.4343.14), REST Client (172.4343.14), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SSH Remote Run (0.1), Sass support (172.4343.14), Settings Repository (172.4343.14), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (172.4343.14), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (172.4343.14), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (172.4343.14), ZKM-Unscramble (1.0), dmServer Support (0.9.5), hg4idea (10.0), tslint (172.4343.14)
2017-11-02 13:58:13,922 [ 2281] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: .ignore (2.2.2), AsciiDoc (0.19.1), Docker integration (172.3968.28), File Watchers (172.4343.25), Gradle View (2.1.0), Lombok Plugin (0.15.17.2), Mongo Plugin (0.10.2016), NodeJS (172.4155.10), TeamCity Integration (2017.1.46915)
2017-11-02 13:58:15,660 [ 4019] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=4009
2017-11-02 13:58:15,790 [ 4149] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2017.1\bin\fsnotifier64.exe
2017-11-02 13:58:15,802 [ 4161] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2017-11-02 13:58:15,856 [ 4215] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2017-11-02 13:58:15,856 [ 4215] INFO - pi.util.registry.RegistryState - compiler.automake.allow.when.app.running = true
2017-11-02 13:58:15,856 [ 4215] INFO - pi.util.registry.RegistryState - tabs.alphabetical = true
2017-11-02 13:58:16,498 [ 4857] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=19, fontScale=1.75; restored: fontSize=19, fontScale=1.75
2017-11-02 13:58:16,771 [ 5130] INFO - tellij.util.io.storage.Storage - Space waste in C:\Users\suim01\.IntelliJIdea2017.2\system\LocalHistory/changes is 12993344 bytes. Compacting now.
2017-11-02 13:58:17,065 [ 5424] INFO - tellij.util.io.storage.Storage - Done compacting in 294msec.
2017-11-02 13:58:17,222 [ 5581] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2017-11-02 13:58:17,347 [ 5706] INFO - tellij.ide.SystemHealthMonitor - issue detected: ide.set.hidpi.mode
2017-11-02 13:58:17,374 [ 5733] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2017-11-02 13:58:17,457 [ 5816] INFO - gs.impl.UpdateCheckerComponent - channel: release
2017-11-02 13:58:17,731 [ 6090] INFO - ction.BrowserConnectionManager - Browser connected: version 2.0.9, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
2017-11-02 13:58:17,748 [ 6107] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:226
2017-11-02 13:58:17,755 [ 6114] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:6
2017-11-02 13:58:17,803 [ 6162] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:34
2017-11-02 13:58:17,803 [ 6162] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2017-11-02 13:58:17,891 [ 6250] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2017-11-02 13:58:18,032 [ 6391] INFO - mbokPluginApplicationComponent - Lombok plugin initialized for IntelliJ
2017-11-02 13:58:18,035 [ 6394] INFO - mbokPluginApplicationComponent - Runtime path support is disabled
2017-11-02 13:58:18,155 [ 6514] ERROR - llij.util.io.PersistentHashMap - java.io.EOFException
java.lang.RuntimeException: java.io.EOFException
at com.intellij.util.io.CompressedAppendableFile.length(CompressedAppendableFile.java:478)
at com.intellij.util.io.PersistentHashMapValueStorage.<init>(PersistentHashMapValueStorage.java:116)
at com.intellij.util.io.PersistentHashMapValueStorage.create(PersistentHashMapValueStorage.java:603)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:195)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:137)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:129)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:125)
at com.intellij.util.indexing.impl.ValueContainerMap.<init>(ValueContainerMap.java:37)
at com.intellij.util.indexing.impl.MapIndexStorage$2.<init>(MapIndexStorage.java:83)
at com.intellij.util.indexing.impl.MapIndexStorage.initMapAndCache(MapIndexStorage.java:83)
at com.intellij.util.indexing.VfsAwareMapIndexStorage.initMapAndCache(VfsAwareMapIndexStorage.java:79)
at com.intellij.util.indexing.VfsAwareMapIndexStorage.<init>(VfsAwareMapIndexStorage.java:74)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:386)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:361)
at com.intellij.util.indexing.FileBasedIndexImpl.access$5000(FileBasedIndexImpl.java:118)
at com.intellij.util.indexing.FileBasedIndexImpl$FileIndexDataInitialization.a(FileBasedIndexImpl.java:2290)
at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.a(IndexInfrastructure.java:211)
at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.a(IndexInfrastructure.java:202)
at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.call(IndexInfrastructure.java:165)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290)
at com.intellij.openapi.util.io.DataInputOutputUtilRt.readINT(DataInputOutputUtilRt.java:38)
at com.intellij.util.io.DataInputOutputUtil.readINT(DataInputOutputUtil.java:38)
at com.intellij.util.io.CompressedAppendableFile.initChunkLengthTable(CompressedAppendableFile.java:126)
at com.intellij.util.io.CompressedAppendableFile.length(CompressedAppendableFile.java:475)
... 23 more
2017-11-02 13:58:18,157 [ 6516] ERROR - llij.util.io.PersistentHashMap - IntelliJ IDEA 2017.2.5 Build #IU-172.4343.14
2017-11-02 13:58:18,157 [ 6516] ERROR - llij.util.io.PersistentHashMap - JDK: 1.8.0_152-release
2017-11-02 13:58:18,158 [ 6517] ERROR - llij.util.io.PersistentHashMap - VM: OpenJDK 64-Bit Server VM
2017-11-02 13:58:18,158 [ 6517] ERROR - llij.util.io.PersistentHashMap - Vendor: JetBrains s.r.o
2017-11-02 13:58:18,158 [ 6517] ERROR - llij.util.io.PersistentHashMap - OS: Windows 10
2017-11-02 13:58:18,159 [ 6518] INFO - il.indexing.FileBasedIndexImpl - PersistentEnumerator storage corrupted C:\Users\suim01\.IntelliJIdea2017.2\system\index\stubs\Stubs.storage
com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted C:\Users\suim01\.IntelliJIdea2017.2\system\index\stubs\Stubs.storage
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:223)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:137)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:129)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:125)
at com.intellij.util.indexing.impl.ValueContainerMap.<init>(ValueContainerMap.java:37)
at com.intellij.util.indexing.impl.MapIndexStorage$2.<init>(MapIndexStorage.java:83)
at com.intellij.util.indexing.impl.MapIndexStorage.initMapAndCache(MapIndexStorage.java:83)
at com.intellij.util.indexing.VfsAwareMapIndexStorage.initMapAndCache(VfsAwareMapIndexStorage.java:79)
at com.intellij.util.indexing.VfsAwareMapIndexStorage.<init>(VfsAwareMapIndexStorage.java:74)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:386)
at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:361)
at com.intellij.util.indexing.FileBasedIndexImpl.access$5000(FileBasedIndexImpl.java:118)
at com.intellij.util.indexing.FileBasedIndexImpl$FileIndexDataInitialization.a(FileBasedIndexImpl.java:2290)
at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.a(IndexInfrastructure.java:211)
at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.a(IndexInfrastructure.java:202)
at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.call(IndexInfrastructure.java:165)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-11-02 13:58:18,216 [ 6575] INFO - plication.impl.ApplicationImpl - 104 application components initialized in 5810ms
2017-11-02 13:58:18,255 [ 6614] INFO - .intellij.idea.IdeaApplication - App initialization took 7511 ms
2017-11-02 13:58:19,219 [ 7578] INFO - ellij.project.impl.ProjectImpl - 23 project components initialized in 365 ms
2017-11-02 13:58:19,913 [ 8272] INFO - ij.psi.stubs.StubUpdatingIndex - Following new file types will be indexed:Groovy,TypeScript JSX,JAVA,JSP,Flow,Properties,Less,Sass,SCSS,FTL,HTML,CLASS,AspectJ,JavaScript,Stylus,SQL,Literate CoffeeScript,JSX Harmony,XML,KJSM,ECMAScript 6,SWF,Kotlin,CFML,CoffeeScript,ActionScript,TypeScript,CSS,spring.factories,kotlin_builtins
2017-11-02 13:58:20,356 [ 8715] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=21, fontScale=1.75
2017-11-02 13:58:20,358 [ 8717] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=21, fontScale=1.75; restored: fontSize=21, fontScale=1.75
2017-11-02 13:58:20,389 [ 8748] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=24, fontScale=1.75; restored: fontSize=24, fontScale=1.75
2017-11-02 13:58:20,390 [ 8749] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=21, fontScale=1.75; restored: fontSize=21, fontScale=1.75
2017-11-02 13:58:20,391 [ 8750] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=28, fontScale=null; restored: fontSize=28, fontScale=1.75
2017-11-02 13:58:20,393 [ 8752] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.75
2017-11-02 13:58:20,393 [ 8752] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=18, fontScale=null; restored: fontSize=18, fontScale=1.75
2017-11-02 13:58:20,557 [ 8916] INFO - pl$FileIndexDataInitialization - Initialization done:2803
2017-11-02 13:58:20,582 [ 8941] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@2cf37054
2017-11-02 13:58:23,053 [ 11412] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@446cec8a
2017-11-02 13:58:23,375 [ 11734] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2017-11-02 13:58:23,383 [ 11742] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2017-11-02 13:58:23,384 [ 11743] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/Workspaces/proj-microservices/wp-web-java-cloud]
2017-11-02 13:58:23,384 [ 11743] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/Workspaces/proj-microservices/wp-web-java-cloud/wp-web-cloud]
2017-11-02 13:58:23,527 [ 11886] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@6844bdc3
2017-11-02 13:58:24,106 [ 12465] INFO - exImpl$StubIndexInitialization - Initialization done:3549
2017-11-02 13:58:24,823 [ 13182] INFO - ellij.project.impl.ProjectImpl - 204 project components initialized in 2277 ms
2017-11-02 13:58:25,239 [ 13598] INFO - le.impl.ModuleManagerComponent - 5 module(s) loaded in 415 ms
2017-11-02 13:58:25,830 [ 14189] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2017-11-02 13:58:26,774 [ 15133] INFO - ScriptTemplatesProviders - [kts] loading script definitions [] using cp:
2017-11-02 13:58:26,779 [ 15138] INFO - ScriptTemplatesProviders - Templates provider KotlinCompilerScriptTemplatesSettings is invalid:
2017-11-02 13:58:26,828 [ 15187] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Java/jdk1.8.0_101
2017-11-02 13:58:26,830 [ 15189] INFO - ScriptTemplatesProviders - [kts] loading script definitions [org.gradle.kotlin.dsl.KotlinBuildScript] using cp: C:\Users\suim01\.gradle\wrapper\dists\gradle-3.5-all\exhrs6ca08n232b14ue48lbye\gradle-3.5\lib\gradle-core-3.5.jar;C:\Users\suim01\.gradle\wrapper\dists\gradle-3.5-all\exhrs6ca08n232b14ue48lbye\gradle-3.5\lib\kotlin-compiler-embeddable-1.1.0.jar
2017-11-02 13:58:26,835 [ 15194] INFO - ScriptTemplatesProviders - Templates provider Gradle Kotlin DSL is invalid: org.gradle.kotlin.dsl.KotlinBuildScript
2017-11-02 13:58:26,839 [ 15198] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Java/jdk1.8.0_101
2017-11-02 13:58:26,840 [ 15199] INFO - ScriptTemplatesProviders - [kts] loading script definitions [org.gradle.script.lang.kotlin.KotlinBuildScript] using cp: C:\Users\suim01\.gradle\wrapper\dists\gradle-3.5-all\exhrs6ca08n232b14ue48lbye\gradle-3.5\lib\gradle-core-3.5.jar;C:\Users\suim01\.gradle\wrapper\dists\gradle-3.5-all\exhrs6ca08n232b14ue48lbye\gradle-3.5\lib\gradle-script-kotlin-0.8.0.jar
2017-11-02 13:58:26,850 [ 15209] INFO - ScriptTemplatesProviders - [kts] loading script definitions [kotlin.script.templates.standard.ScriptTemplateWithArgs] using cp:
2017-11-02 13:58:27,217 [ 15576] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/optimizedFileManager.jar
2017-11-02 13:58:27,929 [ 16288] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 97ms; general responsiveness: ok; EDT responsiveness: ok
2017-11-02 13:58:29,327 [ 17686] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 1634ms under project opening modal progress
2017-11-02 13:58:29,480 [ 17839] INFO - watcher.FwProjectChangeTracker - [tracking vfs changes] started
2017-11-02 13:58:29,585 [ 17944] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 1972ms; general responsiveness: ok; EDT responsiveness: 1/2 sluggish, 1/2 very slow
2017-11-02 13:58:30,228 [ 18587] INFO - son.PackageVersionRangeMatcher - Matching 5 done in 595 ms, not matched: []
2017-11-02 13:58:30,239 [ 18598] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: Gradle View) or icon jar:file:/C:/Program%20Files%20(x86)/JetBrains/IntelliJ%20IDEA%202017.1/lib/icons.jar!/general/add.png
2017-11-02 13:58:30,362 [ 18721] INFO - tartup.impl.StartupManagerImpl - D:/Workspaces/proj-microservices/wp-web-java-cloud/.idea case-sensitivity: expected=false actual=false
2017-11-02 13:58:30,502 [ 18861] INFO - git4idea.GitVcs - Git version: 2.9.0.0
2017-11-02 13:58:30,625 [ 18984] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/Workspaces/proj-microservices/wp-web-java-cloud]
2017-11-02 13:58:30,625 [ 18984] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/Workspaces/proj-microservices/wp-web-java-cloud/wp-web-cloud]
2017-11-02 13:58:30,766 [ 19125] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/optimizedFileManager.jar
2017-11-02 13:58:31,941 [ 20300] INFO - s.CompilerReferenceServiceImpl - backward reference index reader is opened
2017-11-02 13:58:32,468 [ 20827] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4537ms; general responsiveness: ok; EDT responsiveness: 3/5 sluggish, 1/5 very slow
2017-11-02 13:58:32,481 [ 20840] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 49674 files to update
2017-11-02 13:58:33,094 [ 21453] INFO - tor.impl.FileEditorManagerImpl - Project opening took 10592 ms
2017-11-02 13:58:33,200 [ 21559] INFO - s.buildServer.TeamCitySnapshot - Requesting partial summary as there're 2 sample paths provided...
2017-11-02 13:58:35,014 [ 23373] INFO - s.buildServer.TeamCitySnapshot - Requesting partial summary as there're 2 sample paths provided...
2017-11-02 13:58:57,355 [ 45714] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 24874ms; general responsiveness: ok; EDT responsiveness: ok
2017-11-02 13:58:57,598 [ 45957] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile D:\Workspaces\proj-microservices\wp-web-java-cloud
2017-11-02 13:58:57,655 [ 46014] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening.
2017-11-02 13:58:57,655 [ 46014] INFO - tartup.impl.StartupManagerImpl - ExternalSystemStartupActivity run in 285ms on UI thread
2017-11-02 13:58:58,062 [ 46421] INFO - tartup.impl.StartupManagerImpl - GradleStartupActivity run in 334ms on UI thread
2017-11-02 13:58:58,215 [ 46574] INFO - s.CompilerReferenceServiceImpl - backward reference index reader is opened
2017-11-02 13:58:58,716 [ 47075] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/optimizedFileManager.jar
2017-11-02 13:58:59,165 [ 47524] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile D:\Workspaces\proj-microservices\wp-web-java-cloud
2017-11-02 13:59:00,785 [ 49144] INFO - s.CompilerReferenceServiceImpl - backward reference index reader is opened
2017-11-02 13:59:00,899 [ 49258] INFO - tellij.xml.Html5SchemaProvider - HTML5_SCHEMA_LOCATION = C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/idea.jar!/resources/html5-schema/html5.rnc
2017-11-02 13:59:00,899 [ 49258] INFO - tellij.xml.Html5SchemaProvider - XHTML5_SCHEMA_LOCATION = C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/idea.jar!/resources/html5-schema/xhtml5.rnc
2017-11-02 13:59:00,900 [ 49259] INFO - tellij.xml.Html5SchemaProvider - CHARS_DTD_LOCATION = C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/idea.jar!/resources/html5-schema/html5chars.ent
2017-11-02 13:59:01,130 [ 49489] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/optimizedFileManager.jar
2017-11-02 13:59:46,494 [ 94853] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile D:\Workspaces\proj-microservices\wp-web-java-cloud
2017-11-02 13:59:46,827 [ 95186] INFO - s.CompilerReferenceServiceImpl - backward reference index reader is opened
2017-11-02 13:59:47,220 [ 95579] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar;C:/Program Files (x86)/JetBrains/IntelliJ IDEA 2017.1/lib/optimizedFileManager.jar
0
Comment actions Permalink

None of the plugins look suspicious, but I can't recreate the issue using a watcher similar to yours, so it still looks as if smth else is responsible for saving your files.

Can you try disabling all third-party plugins (.ignore, AsciiDoc, Gradle View, Lombok Plugin and Mongo Plugin) and check if the issue persists? also, what working directory is chosen in file watcher settings? Please expand the Other options section and attach a screenshot

0
Comment actions Permalink

I turned off all custom plugins except File Watchers and the problem still persists.

Here are my file watcher settings. 

What's strange is I use this same file watcher on another React project and don't have this problem. 

0
Comment actions Permalink

Can you provide a project that shows up the issue, or try to figure out the difference between your 2 projects? As I can't recreate the issue with any of projects I've tried

0
Comment actions Permalink

I can't make a simple project that recreates it. With the problem that is having the problem I turned off the auto save but it actually auto saves while typing. Any idea on what could be causing this as it's probably the source of the problem. 

0
Comment actions Permalink

As I have said, there is something that is causing files saving - and it's not a file watcher. as the issue is specific to your project, I can hardly advise on the reason unless  you provide a project and steps... Are there any external watchers run? Any tools touching your files?

0
Comment actions Permalink

I have a reproducible project but it won't allow me to upload a ZIP file here. How do I get it to you?

0
Comment actions Permalink

You can upload it to our ftp server ( ftp://ftp.intellij.net/.uploads/ - anonymous login, .uploads directory has no permissions to list/download files, only for upload) and let me know the file name

0
Comment actions Permalink

The file is file-save.zip

Easy test is to make sure you have "Mark modified tabs with asterisk" turned on, open wp-web-cloud/src/shim.js, type some random characters and pause. The asterisk will show while typing then go away when you pause. 

I'm using Java 8 on Windows 10. 

 

0
Comment actions Permalink

thanks!

in Settings | Build, Execution, Deployment | Compiler, try disabling Build project automatically - does it help?

 

0
Comment actions Permalink

That fixed my problem and don't know why I had that enabled (I believe it is disabled by default). Thanks for the help. 

On my run dialog I have the alert "Background compilation enabled" and did this for an old project. I believe I had to get into hidden settings but can't remember how I did that to turn it back off. Can you please let me know how to access that?

0
Comment actions Permalink

This is because you have

compiler.automake.allow.when.app.running = true

in Registry (Help | Find action, type Registry to locate it)

See https://youtrack.jetbrains.com/issue/IDEA-141638

0
Comment actions Permalink

I had the exact same problem (with Prettier as External Tool).

This topic put me on the right track : I added Flow JS support in WebStorm but I didn't notice that the setting "Save all modified files automatically" was enabled by default.

Settings location : Preferences | Languages & Frameworks > Save all modified files automatically

Thanks all :)

0

Please sign in to leave a comment.