Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 511508

Summary: Linting is happening before server restart
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 13.0   
Target Milestone: 14.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-02-01 15:44:23 EST
Steps:

1. get the brackets source 
2. get the orion.client source
3. open COmmandManager.js in brackets - linting happens, all is good
4. reload the page
5. after the reload, open javaScriptProject.js in the orion.client code
6. linting happens, and you are nagged about the requirejs plugin needing to be loaded (WRONG)

This is happening because we are resolving the project deferred a bit too soon, so the linting is allowed to proceed when Tern has not finished reloading (why it is complaining about requirejs not being running)